diff --git a/net_io.c b/net_io.c
index 91cf47d..10e09d0 100644
--- a/net_io.c
+++ b/net_io.c
@@ -792,7 +792,7 @@ int handleHTTPRequest(struct client *c, char *p) {
 
     // Create the header and send the reply
     hdrlen = snprintf(hdr, sizeof(hdr),
-        "HTTP/1.1 %i \r\n"
+        "HTTP/1.1 %d \r\n"
         "Server: Dump1090\r\n"
         "Content-Type: %s\r\n"
         "Connection: %s\r\n"