* io.c: Apply patch from #76192 (Can't write files past 2gb on AMD64
(x86_64)) for Brion on IRC (Dick approved it).
svn path=/branches/mono-1-1-9/mono/; revision=50809
+2005-09-26 Sebastien Pouliot <sebastien@ximian.com>
+
+ * io.c: Apply patch from #76192 (Can't write files past 2gb on AMD64
+ (x86_64)) for Brion on IRC (Dick approved it).
+
2005-09-23 Dick Porter <dick@ximian.com>
* processes.c: Don't wait for processes that have already been
offset, movedistance);
#endif
} else {
- offset=((gint64) *highmovedistance << 32) | (unsigned long)movedistance;
+ offset=((gint64) *highmovedistance << 32) | (guint32)movedistance;
#ifdef DEBUG
g_message("%s: setting offset to %lld 0x%llx (high %d 0x%x, low %d 0x%x)", __func__, offset, offset, *highmovedistance, *highmovedistance, movedistance, movedistance);