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:
Pascal Stumpf
2013-07-22 18:44:04 +02:00
committed by Jon Trulson
parent 0c165f56f5
commit 7e0a9517e3
65 changed files with 259 additions and 152 deletions

View File

@@ -317,7 +317,7 @@ TermStrDraw (
pTerm->lines[y] = (wchar_t *) malloc (sizeof(wchar_t) * (length + 1));
if (pTerm->lines[y] != NULL)
{
register i;
register int i;
wcStr = pTerm->lines[y];
_DtHelpProcessLock();
@@ -340,7 +340,7 @@ TermStrDraw (
(sizeof(wchar_t) * (length + 1)));
if (pTerm->lines[y] != NULL)
{
register i;
register int i;
wcStr = pTerm->lines[y];
_DtHelpProcessLock();
for (i = pTerm->wc_num[y]; i < x; i++)