mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
Silence lots of warnings in lib/DtHelp.
* 64bit warnings * Missing prototypes * explicit parentheses / brackets There's still some work to be done, but, as always, it's a start ...
This commit is contained in:
parent
0c165f56f5
commit
7e0a9517e3
65 changed files with 259 additions and 152 deletions
|
|
@ -51,7 +51,7 @@
|
|||
#include <errno.h>
|
||||
#include <locale.h> /* getlocale(), LOCALE_STATUS, LC_xxx */
|
||||
|
||||
#if defined(_AIX) || defined(USL) || defined(__uxp__)
|
||||
#if defined(_AIX) || defined(USL) || defined(__uxp__) || defined(CSRG_BASED)
|
||||
#include <ctype.h>
|
||||
#endif
|
||||
|
||||
|
|
@ -493,7 +493,7 @@ int _DtHelpCeStrHashToKey(
|
|||
|
||||
if (!str) return 0; /* RETURN */
|
||||
|
||||
for (tstr = str; c = *tstr++; )
|
||||
for (tstr = str; (c = *tstr++); )
|
||||
key = (key << 1) + c;
|
||||
|
||||
return key;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue