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

@@ -389,12 +389,12 @@ unsigned long *pNLines
if ( tag_bit ) {
pPriv->srcpos++;
if (error = _ilDecompG3Line(pPriv,dstImageP) )
if ((error = _ilDecompG3Line(pPriv,dstImageP)) )
return error;
}
else {
pPriv->srcpos++;
if (error = _ilDecompG4Line(pPriv,pRefLine,dstImageP) )
if ((error = _ilDecompG4Line(pPriv,pRefLine,dstImageP)) )
return error;
}
@@ -402,7 +402,7 @@ unsigned long *pNLines
if ( ( !Is_EOLs) && ( ( temp = pPriv->srcpos % 8) != 0 ) )
pPriv->srcpos += (8-temp) ;
if (error = _ilDecompG3Line(pPriv,dstImageP) )
if ((error = _ilDecompG3Line(pPriv,dstImageP)) )
return error;
} /* is 2d coding */