diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2010-09-09 19:13:04 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-09-09 19:13:04 +0000 |
commit | d7d9b528b105b9e27d9ffa5dd1f773d484a559b4 (patch) | |
tree | b332009d675cade338d8e4a1a6508c75a60ec355 /s390-dis.c | |
parent | b76da7e376954ff25e7f9b6e9313f40b8300bf19 (diff) |
Fix OpenBSD build warning
Fix this warning:
CC savevm.o
/src/qemu/savevm.c: In function `do_savevm':
/src/qemu/savevm.c:1900: warning: passing arg 1 of `localtime_r' from incompatible pointer type
It looks like on OpenBSD the type of tv_sec in struct timeval is still
'long' instead of time_t as in most other OS. Fix by adding a cast.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 's390-dis.c')
0 files changed, 0 insertions, 0 deletions