Skip to contentSkip to conversation

ioemu: don't use ulong

PATCH New Samuel Thibault 1 participant 1 message Jan 18, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ioemu: don't use ulong

ioemu: replace non-standard ulong with unsigned long

tools/ioemu/target-i386-dm/helper2.c +1 -1
diff -r b0e2c382ffb2 tools/ioemu/target-i386-dm/helper2.c
@@ -476,7 +476,7 @@
 {
     char b[64];
 
-    time_offset += (ulong)req->data;
+    time_offset += (unsigned long)req->data;
 
     fprintf(logfile, "Time offset set %ld, added offset %ld\n", time_offset, req->data);
     sprintf(b, "%ld", time_offset);