Avoid assuming that the fields of struct timeval have exactly type long.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: a868e24660357d6f214511198e47bd0962dfdc5d
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2007-05-24T18:54:10Z
Releases: 8.3.0
Avoid assuming that the fields of struct timeval have exactly type long.
This is probably incorrect on some platforms, and definitely draws a
compiler warning on Darwin.

Files

PathChange+/−
contrib/pgbench/pgbench.c modified +3 −2