Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP5
grim
0001-write_jpg-fix-printf-format-specifier.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-write_jpg-fix-printf-format-specifier.patch of Package grim
From 89e02e663fabc534b7e7039514f60a8c5d70070d Mon Sep 17 00:00:00 2001 From: Simon Ser <contact@emersion.fr> Date: Wed, 9 Feb 2022 01:24:11 +0100 Subject: [PATCH] write_jpg: fix printf format specifier --- write_jpg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/write_jpg.c b/write_jpg.c index 4476f5f..0cb57d3 100644 --- a/write_jpg.c +++ b/write_jpg.c @@ -54,7 +54,7 @@ int write_to_jpeg_stream(pixman_image_t *image, FILE *stream, int quality) { size_t written = fwrite(data, 1, len, stream); if (written < len) { free(data); - fprintf(stderr, "Failed to write jpg; only %zu of %zu bytes written\n", + fprintf(stderr, "Failed to write jpg; only %zu of %lu bytes written\n", written, len); return -1; } -- 2.35.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor