Patch by Jonathon Wilson:
[reactos.git] / reactos / lib / packet / trace.c
index 8104ebc..a332387 100644 (file)
@@ -10,7 +10,7 @@
 #ifdef _DEBUG
 
 #undef THIS_FILE
-static char THIS_FILE[] = __FILE__;
+//static char THIS_FILE[] = __FILE__;
 
 void _DebugBreak(void)
 {
@@ -36,10 +36,10 @@ void Assert(void* assert, const char* file, int line, void* msg)
 {
     if (msg == NULL) {
         printf("ASSERT -- %s occured on line %u of file %s.\n",
-               assert, line, file);
+               (CHAR *)assert, line, file);
     } else {
         printf("ASSERT -- %s occured on line %u of file %s: Message = %s.\n",
-               assert, line, file, msg);
+               (CHAR *)assert, line, file, (CHAR *)msg);
     }
 }