gvfs r1736 - in branches/gnome-2-22: . client
- From: matthiasc svn gnome org
- To: svn-commits-list gnome org
- Subject: gvfs r1736 - in branches/gnome-2-22: . client
- Date: Mon, 14 Apr 2008 14:35:53 +0100 (BST)
Author: matthiasc
Date: Mon Apr 14 14:35:53 2008
New Revision: 1736
URL: http://svn.gnome.org/viewvc/gvfs?rev=1736&view=rev
Log:
2008-04-14 Matthias Clasen <mclasen redhat com>
* client/gvfsfusedaemon.c: You cannot store pointers in integers.
Fixes a crash on 64bit systems.
Modified:
branches/gnome-2-22/ChangeLog
branches/gnome-2-22/client/gvfsfusedaemon.c
Modified: branches/gnome-2-22/client/gvfsfusedaemon.c
==============================================================================
--- branches/gnome-2-22/client/gvfsfusedaemon.c (original)
+++ branches/gnome-2-22/client/gvfsfusedaemon.c Mon Apr 14 14:35:53 2008
@@ -55,8 +55,8 @@
#define DEBUG_ENABLED 0
-#define GET_FILE_HANDLE(fi) (GUINT_TO_POINTER ((guint) (fi)->fh))
-#define SET_FILE_HANDLE(fi, fh) ((fi)->fh = (guint64) GPOINTER_TO_UINT (fh))
+#define GET_FILE_HANDLE(fi) ((gpointer) (fi)->fh)
+#define SET_FILE_HANDLE(fi, fh) ((fi)->fh = (guint64) (fh))
typedef struct {
time_t creation_time;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]