* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#ifdef HAVE_CONFIG_H
-# include "config.h"
-#endif
+#include <config.h>
#ifndef HAVE_EXIV2
}
gboolean format_nikon_raw(guchar *data, const guint len,
- guint *image_offset, guint *exif_offset)
+ guint *image_offset, guint *UNUSED(exif_offset))
{
guint i_off = 0;
guint i_len = 0;
ExifItem *shadow;
shadow = exif_item_new(marker.format, marker.tag, 1, &marker);
- memcpy(shadow->data, item->data + 2, 2);
+ memcpy(shadow->data, (char *)item->data + 2, 2);
exif->items = g_list_prepend(exif->items, shadow);
}
return TRUE;
}
+#else
+typedef int dummy_variable;
#endif
/* not HAVE_EXIV2 */
/* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */