svn commit: samba r19126 - in branches/SAMBA_3_0/source/lib/socket_wrapper: .

Stefan (metze) Metzmacher metze at samba.org
Fri Oct 6 18:08:07 GMT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Volker Lendecke schrieb:
> On Fri, Oct 06, 2006 at 05:49:46PM +0200, Stefan (metze) Metzmacher wrote:
>> I think we should change TDB_DATA to use unsigned char *
>> so that we get the same warnings in samba 3 and 4.
>>
>> But we need to fix all callers in samba3...
> 
> Why not change Samba4?

Because TDB_DATA contains raw bytes (same as DATA_BLOB)
and the correct type for that is uint8_t (or unsigned char *).

(btw: DATA_BLOB has uint8[_t] in samba 3 and 4)

I'll for review next week...

metze
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFFJpuHm70gjA5TCD8RAle8AKDHUZJpZQ67SHsYJyCAhWnKnfQ4oQCdHXrj
WyGkQyxEGxXCaXBmXsylbXo=
=9R4A
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list