summaryrefslogtreecommitdiff
path: root/src/Fl_JPEG_Image.cxx
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2022-12-22 00:33:08 +0100
committerMatthias Melcher <github@matthiasm.com>2022-12-22 00:33:08 +0100
commit6ea1f73d930bf8a9067d48a8ecee90d4e43d3030 (patch)
tree0772e2680d39f2230e4e80eb1bde3935c1351b41 /src/Fl_JPEG_Image.cxx
parentd98c6638938b09934889b5c639a56d4dea10a6fb (diff)
Missing parentheses
Diffstat (limited to 'src/Fl_JPEG_Image.cxx')
-rw-r--r--src/Fl_JPEG_Image.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_JPEG_Image.cxx b/src/Fl_JPEG_Image.cxx
index b20bcf133..fa12bdaf5 100644
--- a/src/Fl_JPEG_Image.cxx
+++ b/src/Fl_JPEG_Image.cxx
@@ -304,7 +304,7 @@ void Fl_JPEG_Image::load_jpg_(const char *filename, const char *sharename, const
if (data_length==-1)
jpeg_unprotected_mem_src(&dinfo, data);
else
- jpeg_mem_src(&dinfo, const_cast<unsigned char*>data, (size_t)data_length);
+ jpeg_mem_src(&dinfo, const_cast<unsigned char*>(data), (size_t)data_length);
}
jpeg_read_header(&dinfo, TRUE);