]> git.proxmox.com Git - mirror_qemu.git/commit
qtest: avoid a warning with RTC test
authorBlue Swirl <blauwirbel@gmail.com>
Fri, 30 Mar 2012 17:42:27 +0000 (17:42 +0000)
committerBlue Swirl <blauwirbel@gmail.com>
Fri, 30 Mar 2012 18:58:46 +0000 (18:58 +0000)
commit02b3efcb7509841871038d89406225d1aaf41684
tree5a488660af3c381c727b31e0e3f88ec8854ac086
parent6b7cff76e0545b831542bbbdcf3fa2e4f260fbfe
qtest: avoid a warning with RTC test

Avoid this warning on OpenBSD:
  CC    tests/rtc-test.o
/src/qemu/tests/rtc-test.c: In function 'check_time':
/src/qemu/tests/rtc-test.c:171: warning: format '%ld' expects type 'long int', but argument 2 has type 'time_t'
/src/qemu/tests/rtc-test.c:173: warning: format '%ld' expects type 'long int', but argument 2 has type 'time_t'

Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
tests/rtc-test.c