Don't rely on C99 types. (#304924, John Ehresman)
2005-05-20 Matthias Clasen <mclasen@redhat.com> * xdgmimecache.c: Don't rely on C99 types. (#304924, John Ehresman)
This commit is contained in:

committed by
Matthias Clasen

parent
7df7efcc12
commit
bd2316dcb6
@ -1,3 +1,8 @@
|
||||
2005-05-20 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* xdgmimecache.c (GET_UINT32): Don't rely on C99
|
||||
types. (#304924, John Ehresman)
|
||||
|
||||
2005-04-29 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* Sync to upstream.
|
||||
|
@ -79,8 +79,8 @@ struct _XdgMimeCache
|
||||
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)
|
||||
|
Reference in New Issue
Block a user