Revision: 1656
http://geeqie.svn.sourceforge.net/geeqie/?rev=1656&view=rev
Author: zas_
Date: 2009-04-21 21:47:11 +0000 (Tue, 21 Apr 2009)
Log Message:
-----------
Fix up few warnings (especially on 64bits platforms).
Modified Paths:
--------------
trunk/src/image-load.c
trunk/src/image-load.h
trunk/src/utilops.c
Modified: trunk/src/image-load.c
===================================================================
--- trunk/src/image-load.c 2009-04-21 21:16:32 UTC (rev 1655)
+++ trunk/src/image-load.c 2009-04-21 21:47:11 UTC (rev 1656)
@@ -96,7 +96,7 @@
il->data_mutex = g_mutex_new();
il->can_destroy_cond = g_cond_new();
#endif
- DEBUG_1("new image loader %p, bufsize=%u idle_loop=%u", il,
il->read_buffer_size, il->idle_read_loop_count);
+ DEBUG_1("new image loader %p, bufsize=%" G_GSIZE_FORMAT "
idle_loop=%u", il, il->read_buffer_size, il->idle_read_loop_count);
}
static void image_loader_class_init(ImageLoaderClass *class)
@@ -160,7 +160,7 @@
if (il->error) DEBUG_1("%s", image_loader_get_error(il));
- DEBUG_1("freeing image loader %p bytes_read=%d", il, il->bytes_read);
+ DEBUG_1("freeing image loader %p bytes_read=%" G_GSIZE_FORMAT, il,
il->bytes_read);
if (il->idle_done_id)
{
@@ -619,9 +619,9 @@
ExifData *exif = exif_read_fd(il->fd);
if (options->thumbnails.use_exif)
- il->mapped_file = exif_get_preview(exif,
&il->bytes_total, il->requested_width, il->requested_height);
+ il->mapped_file = exif_get_preview(exif, (guint
*)&il->bytes_total, il->requested_width, il->requested_height);
else
- il->mapped_file = exif_get_preview(exif,
&il->bytes_total, 0, 0); /* get the largest available preview image or NULL for
normal images*/
+ il->mapped_file = exif_get_preview(exif, (guint
*)&il->bytes_total, 0, 0); /* get the largest available preview image or NULL
for normal images*/
if (il->mapped_file)
{
Modified: trunk/src/image-load.h
===================================================================
--- trunk/src/image-load.h 2009-04-21 21:16:32 UTC (rev 1655)
+++ trunk/src/image-load.h 2009-04-21 21:47:11 UTC (rev 1656)
@@ -58,7 +58,7 @@
guchar *mapped_file;
gsize read_buffer_size;
- gint idle_read_loop_count;
+ guint idle_read_loop_count;
};
struct _ImageLoaderClass {
Modified: trunk/src/utilops.c
===================================================================
--- trunk/src/utilops.c 2009-04-21 21:16:32 UTC (rev 1655)
+++ trunk/src/utilops.c 2009-04-21 21:47:11 UTC (rev 1656)
@@ -1666,7 +1666,7 @@
ud->content_list = NULL;
ud->parent = parent;
- ud->messages.title = pgettext("physical","Delete");
+ ud->messages.title = (gchar *)pgettext("physical","Delete");
ud->messages.question = _("Delete files?");
ud->messages.desc_flist = _("This will delete the following files");
ud->messages.desc_source_fd = "";
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Geeqie-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geeqie-svn