Commit 0ece3b81 authored by Benedikt Meurer's avatar Benedikt Meurer

2007-06-24 Benedikt Meurer <benny@xfce.org>

	* thunar-vfs/thunar-vfs-path.c: Fix crash on amd64 because of
	  invalid size of integer constants. Bug #3303.




(Old svn revision: 25851)
parent c6032f3d
2007-06-24 Benedikt Meurer <benny@xfce.org>
* thunar-vfs/thunar-vfs-path.c: Fix crash on amd64 because of
invalid size of integer constants. Bug #3303.
2007-05-25 Benedikt Meurer <benny@xfce.org>
* thunar/thunar-dialogs.c(thunar_dialogs_show_about): Add support
......
......@@ -46,11 +46,11 @@
/* Masks to handle the 4-byte aligned path names */
#if G_BYTE_ORDER == G_LITTLE_ENDIAN
#define THUNAR_VFS_PATH_MASK (0xffu << ((sizeof (gsize) - 1) * 8))
#define THUNAR_VFS_PATH_MASK (((gsize) 0xffu) << ((sizeof (gsize) - 1) * 8))
#define THUNAR_VFS_PATH_ROOT (0x2fu)
#elif G_BYTE_ORDER == G_BIG_ENDIAN
#define THUNAR_VFS_PATH_MASK (0xffu)
#define THUNAR_VFS_PATH_ROOT (0x2fu << ((sizeof (gsize) - 1) * 8))
#define THUNAR_VFS_PATH_ROOT (((gsize) 0x2fu) << ((sizeof (gsize) - 1) * 8))
#else
#error "Unsupported endianess"
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment