From 468e65a82aa0b4f4bfd82eb98e7f22b130da9f98 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Wed, 28 May 2014 15:14:11 +0200 Subject: Fix 64 bit warning. --- src/img_encoder.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3