[gimp] Use a proper int to pointer cast
- From: Mukund Sivaraman <muks src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] Use a proper int to pointer cast
- Date: Thu, 17 Mar 2011 18:37:12 +0000 (UTC)
commit 56d8850d3818d9bdb4db47c0705a668c19c0a001
Author: Mukund Sivaraman <muks banu com>
Date: Thu Mar 17 23:53:07 2011 +0530
Use a proper int to pointer cast
app/gegl/gimptilebackendtilemanager.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/gegl/gimptilebackendtilemanager.c b/app/gegl/gimptilebackendtilemanager.c
index 788fb17..0ad17aa 100644
--- a/app/gegl/gimptilebackendtilemanager.c
+++ b/app/gegl/gimptilebackendtilemanager.c
@@ -217,7 +217,7 @@ gimp_tile_backend_tile_manager_command (GeglTileSource *tile_store,
{
RamEntry *entry = lookup_entry (backend_tm, x, y, z);
- return (gpointer) (entry != NULL);
+ return GINT_TO_POINTER (entry != NULL);
}
default:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]