svn commit: samba r4040 - in branches/SAMBA_4_0/source/lib/ldb/ldb_tdb: .

metze at samba.org metze at samba.org
Thu Dec 2 10:35:26 GMT 2004


Author: metze
Date: 2004-12-02 10:35:25 +0000 (Thu, 02 Dec 2004)
New Revision: 4040

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=4040

Log:
sorry today is not my day...

uint32 != uint8_t ...

metze

Modified:
   branches/SAMBA_4_0/source/lib/ldb/ldb_tdb/ldb_pack.c


Changeset:
Modified: branches/SAMBA_4_0/source/lib/ldb/ldb_tdb/ldb_pack.c
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/ldb_tdb/ldb_pack.c	2004-12-02 10:28:19 UTC (rev 4039)
+++ branches/SAMBA_4_0/source/lib/ldb/ldb_tdb/ldb_pack.c	2004-12-02 10:35:25 UTC (rev 4040)
@@ -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 @@
 	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);



More information about the samba-cvs mailing list