Current News
Archived News
Search News
Discussion Forum


Old Forum
Install Programs More Downloads...
Troubleshooting
Source Code
Format Specs.
Misc. Information
Non-SF Stuff
Links




ShadowFlare [Wed, 15 Aug 2012 07:25:23 +0000 (01:25 -0600)]
implode.c
wintypes.h

index bfdea1e..975c757 100644 (file)
--- a/implode.c
+++ b/implode.c
@@ -449,7 +449,7 @@ static void WriteCmpData(TCmpStruct * pWork)
         bytes_required = 0x1000;
 
         do {
-            int loaded = pWork->read_buf(&pWork->work_buff[UNCMP_OFFSET + total_loaded], &bytes_required, pWork->param);
+            int loaded = pWork->read_buf((char *)&pWork->work_buff[UNCMP_OFFSET + total_loaded], &bytes_required, pWork->param);
 
             if (loaded == 0) {
                 if (total_loaded == 0 && esp20 == 0) {
index cae65d2..f58a44d 100644 (file)
@@ -7,7 +7,9 @@
 
 #include <stdint.h>
 
+#ifndef WINAPI
 #define WINAPI
+#endif
 #define CDECL
 #define __fastcall