gvfs r1735 - in trunk: . client
- From: matthiasc svn gnome org
- To: svn-commits-list gnome org
- Subject: gvfs r1735 - in trunk: . client
- Date: Mon, 14 Apr 2008 14:33:42 +0100 (BST)
Author: matthiasc
Date: Mon Apr 14 14:33:42 2008
New Revision: 1735
URL: http://svn.gnome.org/viewvc/gvfs?rev=1735&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:
trunk/ChangeLog
trunk/client/gvfsfusedaemon.c
Modified: trunk/client/gvfsfusedaemon.c
==============================================================================
--- trunk/client/gvfsfusedaemon.c (original)
+++ trunk/client/gvfsfusedaemon.c Mon Apr 14 14:33:42 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]