Skip to content

Commit 6816714

Browse files
angtkhemchand-zetta
authored andcommitted
server : fix bad fmt, size() is a size_type (ggml-org#17735)
Signed-off-by: Adrien Gallouët <angt@huggingface.co>
1 parent 3297327 commit 6816714

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/server/server-common.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -791,7 +791,7 @@ static void handle_media(
791791
SRV_INF("downloading image from '%s'\n", url.c_str());
792792
auto res = common_remote_get_content(url, params);
793793
if (200 <= res.first && res.first < 300) {
794-
SRV_INF("downloaded %ld bytes\n", res.second.size());
794+
SRV_INF("downloaded %zu bytes\n", res.second.size());
795795
raw_buffer data;
796796
data.insert(data.end(), res.second.begin(), res.second.end());
797797
out_files.push_back(data);

0 commit comments

Comments
 (0)