[Bug 2468] rpc_server/srv_samr_util.c type cast mistake
Jason Mader
jason at ncac.gwu.edu
Sat Mar 19 17:24:27 GMT 2005
I've reported this as Bug 2468, on Samba 3.0.12.
Compiling rpc_server/srv_samr_util.c
cc-1164 cc: WARNING File = rpc_server/srv_samr_util.c, Line = 267
Argument of type "const char *" is incompatible with parameter of type
"const unsigned char *".
pdb_sethexhours(new, (const char
*)from->logon_hrs.hours);
^
The type for from->logon_hrs.hours is already "const unsigned char *"
and this type cast should not be done.
---Jason Mader, FHWA/NHTSA National Crash Analysis Center,
The George Washington University, VA Campus
More information about the samba-technical
mailing list