s3: Fix 64-bit errors
commitdfd33bcbb81998e68c00d2a01aab6b5c468ecf87
authorVolker Lendecke <vl@samba.org>
Wed, 23 Feb 2011 14:26:38 +0000 (23 15:26 +0100)
committerVolker Lendecke <vl@samba.org>
Wed, 23 Feb 2011 14:59:11 +0000 (23 15:59 +0100)
tree55c89110111636494a38c8c00506ce7d7187c4de
parent9671615592a2e539a661698373dd3f7c7dd82d73
s3: Fix 64-bit errors

Casting those variables will lead to sscanf believing that it sees pointers to
unsigned longs. These might be 64 bit long, thus sscanf will overwrite memory
it should not overwrite. Assigning the vars later is okay, there we get
automatic type conversion. C can be nasty ...

Christian, please check!
source3/winbindd/idmap_autorid.c