diff options
author | Stefan Metzmacher <metze@samba.org> | 2004-12-02 10:35:25 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:06:17 -0500 |
commit | 785e7eb4527fdd6faffc1b23500c7c7ccbe59a93 (patch) | |
tree | a757025757e3cebe137c053d8188c2c92c7b1941 /source4/lib/ldb/ldb_tdb | |
parent | 4754082feabdb7af88883d8dc89324834c9cbca1 (diff) | |
download | samba-785e7eb4527fdd6faffc1b23500c7c7ccbe59a93.tar.gz samba-785e7eb4527fdd6faffc1b23500c7c7ccbe59a93.tar.bz2 samba-785e7eb4527fdd6faffc1b23500c7c7ccbe59a93.zip |
r4040: sorry today is not my day...
uint32 != uint8_t ...
metze
(This used to be commit a8a3b8ee341fda041383df225ea2b7f9b589fc04)
Diffstat (limited to 'source4/lib/ldb/ldb_tdb')
-rw-r--r-- | source4/lib/ldb/ldb_tdb/ldb_pack.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/ldb/ldb_tdb/ldb_pack.c b/source4/lib/ldb/ldb_tdb/ldb_pack.c index 0ebf62df8d..9515beeaa7 100644 --- a/source4/lib/ldb/ldb_tdb/ldb_pack.c +++ b/source4/lib/ldb/ldb_tdb/ldb_pack.c @@ -44,7 +44,7 @@ #define LTDB_PACKING_FORMAT_NODN 0x26011966 /* use a portable integer format */ -static void put_uint32(uint32 *p, int ofs, unsigned int val) +static void put_uint32(uint8_t *p, int ofs, unsigned int val) { p += ofs; p[0] = val&0xFF; @@ -53,7 +53,7 @@ static void put_uint32(uint32 *p, int ofs, unsigned int val) p[3] = (val>>24) & 0xFF; } -static unsigned int pull_uint32(uint32 *p, int ofs) +static unsigned int pull_uint32(uint8_t *p, int ofs) { p += ofs; return p[0] | (p[1]<<8) | (p[2]<<16) | (p[3]<<24); |