summaryrefslogtreecommitdiff
path: root/sysutils/gnome-vfs2/patches/patch-ac
blob: 23fb631a579c992a8efc56518f49afabd9833449 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ac,v 1.7 2005/11/19 16:24:57 kristerw Exp $

--- libgnomevfs/xdgmimecache.c.orig	2005-11-19 16:35:49.000000000 +0100
+++ libgnomevfs/xdgmimecache.c	2005-11-19 16:36:26.000000000 +0100
@@ -79,8 +79,8 @@
   char   *buffer;
 };
 
-#define GET_UINT16(cache,offset) (ntohs(*(uint16_t*)((cache) + (offset))))
-#define GET_UINT32(cache,offset) (ntohl(*(uint32_t*)((cache) + (offset))))
+#define GET_UINT16(cache,offset) (ntohs(*(xdg_uint16_t*)((cache) + (offset))))
+#define GET_UINT32(cache,offset) (ntohl(*(xdg_uint32_t*)((cache) + (offset))))
 
 XdgMimeCache *
 _xdg_mime_cache_ref (XdgMimeCache *cache)