shithub: choc

Download patch

ref: 42454af827d204444874558ccb340fc6e65f9ac1
parent: 1290c2496e85105871ab457b91e159d43c4cc7b4
author: Simon Howard <[email protected]>
date: Sat Oct 17 16:13:54 EDT 2009

Fix error in last change.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1722

--- a/src/p_map.c
+++ b/src/p_map.c
@@ -1413,7 +1413,7 @@
         
         if (p > 0)
         {
-            M_StrToInt(atoi(myargv[p+1]), &baseaddr);
+            M_StrToInt(myargv[p+1], (int *) &baseaddr);
         }
         else
         {