summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2014-05-28 15:14:11 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2014-05-28 15:14:11 +0200
commit468e65a82aa0b4f4bfd82eb98e7f22b130da9f98 (patch)
treee8e246ac3371c687b78bc626fd8288f6544d6e7f /src
parentb05d468e78976cd72706e28992f0ed9584f601df (diff)
Fix 64 bit warning.
Diffstat (limited to 'src')
-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;
}