Compiling lib/util.c cc-1185 cc: WARNING File = lib/util.c, Line = 2355 An enumerated type is mixed with another type. return ms_fnmatch(pattern, string, Protocol, is_case_sensitive) == 0; in the function called on return, Protocol was globally defined an 'int' on line 52, instead of 'enum protocol_types' (line 1323 of lib/smb.h). ms_fnmatch() is defined in lib/ms_fnmatch.c line 149: int ms_fnmatch(const char *pattern, const char *string, enum protocol_types protocol, BOOL is_case_sensitive) Protocol should probably be defined as 'enum protocol_types'.
Changed Protocol to enum - thanks ! Jeremy.
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.