]> git.sesse.net Git - cubemap/blobdiff - httpinput.cpp
When warning about unusually long Metacube blocks, use decimal instead of hex.
[cubemap] / httpinput.cpp
index a3a950b03a9876c33fbd1de794e25549eea0b7c9..e22e0a5970a25f3bc628ed77a6ff561f5620ad9f 100644 (file)
@@ -459,7 +459,7 @@ void HTTPInput::process_data(char *ptr, size_t bytes)
                uint32_t flags = ntohl(hdr->flags);
 
                if (size > 65535) {
-                       log(WARNING, "[%s] Metacube block of %x bytes (flags=%x); corrupted header?",
+                       log(WARNING, "[%s] Metacube block of %d bytes (flags=%x); corrupted header?",
                                url.c_str(), size, flags);
                }