1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-03 04:22:09 +03:00

- fixed cast warnings

- ignore *.po32 files
(This used to be commit 469474803d)
This commit is contained in:
Andrew Tridgell
1998-10-05 12:35:30 +00:00
parent c926d8b179
commit b79773d3c7
2 changed files with 15 additions and 11 deletions

View File

@ -1 +1,3 @@
*.po
*.po32

View File

@ -2334,8 +2334,10 @@ int name_extract(char *buf,int ofs,char *name)
/****************************************************************************
return the total storage length of a mangled name
****************************************************************************/
int name_len(unsigned char *s)
int name_len(char *s1)
{
/* NOTE: this argument _must_ be unsigned */
unsigned char *s = (unsigned char *)s1;
int len;
/* If the two high bits of the byte are set, return 2. */