summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/img_encoder.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/img_encoder.cc b/src/img_encoder.cc
index 907f282..9747dfa 100644
--- a/src/img_encoder.cc
+++ b/src/img_encoder.cc
@@ -154,7 +154,7 @@ void ImgEncoder::writeJPEGFile(int quality, unsigned char *rgb, int image_width,
// Release JPEG compression object
jpeg_destroy_compress(&cinfo);
- DEBUG(jpeg, "JPEG buffersize: %d", buffersize);
+ DEBUG(jpeg, "JPEG buffersize: %d", (int)buffersize);
file->Write(jpeg_output_buffer, buffersize);
delete jpeg_output_buffer;
}