Make len portable (as best as can tested with a 32 bit machine).
authorGuillermo S. Romero <gsr.b3d@infernal-iceberg.com>
Tue, 27 Apr 2010 18:21:49 +0000 (18:21 +0000)
committerGuillermo S. Romero <gsr.b3d@infernal-iceberg.com>
Tue, 27 Apr 2010 18:21:49 +0000 (18:21 +0000)
intern/guardedalloc/intern/mallocn.c

index 624687735dc5100556b14137ae5828248da40e01..78ae7f0701945ead6fd2745f320e8f5b54a4f79c 100644 (file)
@@ -82,7 +82,11 @@ typedef struct localListBase
        /* note: keep this struct aligned (e.g., irix/gcc) - Hos */
 typedef struct MemHead {
        int tag1;
-       unsigned int len;
+#if defined(WIN64)
+       unsigned long long len;
+#else
+       unsigned long len;
+#endif
        struct MemHead *next,*prev;
        const char * name;
        const char * nextname;