]> 4ch.mooo.com Git - 16.git/commitdiff
hmmm
authorsparky4 <sparky4@cock.li>
Mon, 20 Jul 2015 14:04:59 +0000 (09:04 -0500)
committersparky4 <sparky4@cock.li>
Mon, 20 Jul 2015 14:04:59 +0000 (09:04 -0500)
modified:   src/lib/16_mm.c

src/lib/16_mm.c

index 152a2635669db6235c51a4592964d8700106f62b..d6e81142b1ae7721ae6756e8aba7d65f1da490c3 100644 (file)
@@ -1167,8 +1167,8 @@ void MM_DumpData(mminfo_t *mm)
 {\r
        mmblocktype far *scan,far *best;\r
        long    lowest,oldlowest;\r
-       unsigned        owner;\r
-       char    lock,purge;\r
+       word    owner;\r
+       byte    lock,purge;\r
        FILE    *dumpfile;\r
 \r
 \r
@@ -1188,7 +1188,7 @@ void MM_DumpData(mminfo_t *mm)
                scan = mm->mmhead;\r
                while (scan)\r
                {\r
-                       owner = (unsigned)scan->useptr;\r
+                       owner = (word)scan->useptr;\r
 \r
                        if (owner && owner<lowest && owner > oldlowest)\r
                        {\r
@@ -1210,7 +1210,7 @@ void MM_DumpData(mminfo_t *mm)
                        else\r
                                lock = '-';\r
                        fprintf (dumpfile,"0x%p (%c%c) = %u\n"\r
-                       ,(unsigned)lowest,lock,purge,best->length);\r
+                       ,(word)lowest,lock,purge,best->length);\r
                }\r
 \r
        } while (lowest != 0xffff);\r