Nick Mathewson пре 21 година
родитељ
комит
157cd7fe15
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/or/directory.c

+ 1 - 1
src/or/directory.c

@@ -322,7 +322,7 @@ static int directory_handle_command_get(connection_t *conn,
 
     log_fn(LOG_DEBUG,"Dumping directory to client.");
     snprintf(tmp, sizeof(tmp), "HTTP/1.0 200 OK\r\nContent-Length: %d\r\n\r\n%s",
-             dlen, cp);
+             (int)dlen, cp);
     connection_write_to_buf(tmp, strlen(tmp), conn);
     return 0;
   }