diff options
Diffstat (limited to 'results/scraper/launchpad-without-comments/902720')
| -rw-r--r-- | results/scraper/launchpad-without-comments/902720 | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/results/scraper/launchpad-without-comments/902720 b/results/scraper/launchpad-without-comments/902720 new file mode 100644 index 00000000..5c379425 --- /dev/null +++ b/results/scraper/launchpad-without-comments/902720 @@ -0,0 +1,16 @@ +TIME_MAX not set correctly for OpenBSD in qemu-common.h + +Looking at the OpenBSD buildbot logs I noticed a warning that appears to be a bug in the code. +OpenBSD has a 32-bit time_t on all archs at the moment (32-bit and 64-bit). + + CC i386-softmmu/monitor.o +/buildbot-qemu/default_openbsd_current/build/monitor.c: In function 'expire_password': +/buildbot-qemu/default_openbsd_current/build/monitor.c:944: warning: overflow in implicit constant conversion + +qemu-common.h has... + +#ifndef TIME_MAX +#define TIME_MAX LONG_MAX +#endif + +for OpenBSD this should be INT_MAX. \ No newline at end of file |