Removed Msg->reply_to because it held data for an older version of the code, we no...
[citadel.git] / webcit / tcp_sockets.c
index 8d3c6a885d442b736a56a202d267f5989ace6541..b6953755e439475f101bc4fb836c75a505bb854f 100644 (file)
@@ -275,8 +275,11 @@ void FlushReadBuf (void)
                pche = pch + len;
                if (WCC->ReadPos != pche)
                {
-                       syslog(1, "ERROR: somebody didn't eat his soup! Remaing Chars: %ld [%s]\n", 
-                               pche - WCC->ReadPos, pche);
+                       syslog(1,
+                               "ERROR: somebody didn't eat his soup! Remaing Chars: %ld [%s]\n", 
+                               (long)(pche - WCC->ReadPos),
+                               pche
+                       );
                        syslog(1, 
                                "--------------------------------------------------------------------------------\n"
                                "Whole buf: [%s]\n"