diff --git a/NEWS b/NEWS index 05f56ef39..f6172c454 100644 --- a/NEWS +++ b/NEWS @@ -1,4 +1,6 @@ ver 0.22.4 (not yet released) +* protocol + - fix "readpicture" on 32 bit machines * storage - curl: fix several WebDAV protocol bugs * decoder diff --git a/src/command/FileCommands.cxx b/src/command/FileCommands.cxx index e50e3324d..dc68463aa 100644 --- a/src/command/FileCommands.cxx +++ b/src/command/FileCommands.cxx @@ -296,7 +296,7 @@ public: return; } - response.Format("size: %" PRIoffset "\n", buffer.size); + response.Format("size: %zu\n", buffer.size); if (mime_type != nullptr) response.Format("type: %s\n", mime_type);