Commit 22475618 authored by Manish Singh's avatar Manish Singh Committed by Manish Singh
Browse files

don't do pointer arithmetic with void *. Fixes bug #305005.

2005-05-21  Manish Singh  <yosh@gimp.org>

        * plug-ins/metadata/metadata.c (run): don't do pointer arithmetic
        with void *. Fixes bug #305005.
parent 3ebe38bb
2005-05-21 Manish Singh <yosh@gimp.org>
* plug-ins/metadata/metadata.c (run): don't do pointer arithmetic
with void *. Fixes bug #305005.
2005-05-22 Michael Natterer <mitch@gimp.org>
* tools/test-clipboard.c: added --selection-type option which
......
......@@ -391,7 +391,7 @@ run (const gchar *name,
if (!! strncmp (gimp_parasite_data (parasite),
METADATA_MARKER, METADATA_MARKER_LEN)
|| ! xmp_model_parse_buffer (xmp_model,
gimp_parasite_data (parasite)
(const gchar *)gimp_parasite_data (parasite)
+ METADATA_MARKER_LEN,
gimp_parasite_data_size (parasite)
- METADATA_MARKER_LEN,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment