chiark / gitweb /
integer arithmetic types: do not use unsigned for lengths
[secnet.git] / log.c
diff --git a/log.c b/log.c
index 55f1ee125cbfba848002f1c536e8ad89e3bb3247..ab94832caaa726aaac76c1d3d5ca03a2629d42b2 100644 (file)
--- a/log.c
+++ b/log.c
@@ -19,7 +19,7 @@ static void vMessage(uint32_t class, const char *message, va_list args)
     FILE *dest=stdout;
 #define MESSAGE_BUFLEN 1023
     static char buff[MESSAGE_BUFLEN+1]={0,};
-    uint32_t bp;
+    size_t bp;
     char *nlp;
 
     if (secnet_is_daemon) {