cc-1164 cc: WARNING File = smbd/sesssetup.c, Line = 663 Argument of type "unsigned char *" is incompatible with parameter of type "const char *". if (strncmp(blob1.data, "NTLMSSP", 7) == 0) { ^
blob1.data is of type "uint8 *" In a case like this, wouldn't it be better to use bcmp()?
Yeah using strcmp() is just wrong. We would probably use memcmp() though.
Compiler warning is not in 3.0.23rc2