diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2014-05-28 15:14:11 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2014-05-28 15:14:11 +0200 |
commit | 468e65a82aa0b4f4bfd82eb98e7f22b130da9f98 (patch) | |
tree | e8e246ac3371c687b78bc626fd8288f6544d6e7f | |
parent | b05d468e78976cd72706e28992f0ed9584f601df (diff) |
Fix 64 bit warning.
-rw-r--r-- | src/img_encoder.cc | 2 |
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; } |