* [Qemu-devel] [6364] cuda: fix crash on Windows
@ 2009-01-18 12:16 Aurelien Jarno
0 siblings, 0 replies; only message in thread
From: Aurelien Jarno @ 2009-01-18 12:16 UTC (permalink / raw)
To: qemu-devel
Revision: 6364
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6364
Author: aurel32
Date: 2009-01-18 12:16:26 +0000 (Sun, 18 Jan 2009)
Log Message:
-----------
cuda: fix crash on Windows
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Modified Paths:
--------------
trunk/hw/cuda.c
Modified: trunk/hw/cuda.c
===================================================================
--- trunk/hw/cuda.c 2009-01-18 12:16:15 UTC (rev 6363)
+++ trunk/hw/cuda.c 2009-01-18 12:16:26 UTC (rev 6364)
@@ -756,8 +756,8 @@
s->timers[1].index = 1;
- qemu_get_timedate(&tm, RTC_OFFSET);
- s->tick_offset = mktimegm(&tm);
+ qemu_get_timedate(&tm, 0);
+ s->tick_offset = (uint32_t)mktimegm(&tm) + RTC_OFFSET;
s->adb_poll_timer = qemu_new_timer(vm_clock, cuda_adb_poll, s);
*cuda_mem_index = cpu_register_io_memory(0, cuda_read, cuda_write, s);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-01-18 12:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-18 12:16 [Qemu-devel] [6364] cuda: fix crash on Windows Aurelien Jarno
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).