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:
committed by
Jon Trulson
parent
0c165f56f5
commit
7e0a9517e3
@@ -44,6 +44,7 @@
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "ilcodec.h"
|
||||
#include "ilint.h"
|
||||
#include "ilimage.h"
|
||||
#include "ilpipelem.h"
|
||||
@@ -1102,7 +1103,7 @@ ilBool constantStrip, haveConsumerImage, insertCopyFilter;
|
||||
pPipe->image.info.constantStrip = pDstData->constantStrip;
|
||||
pPipe->image.info.stripHeight = pDstData->stripHeight;
|
||||
}
|
||||
if (pDes = pDstData->pDes) {
|
||||
if ((pDes = pDstData->pDes)) {
|
||||
if (pDes->type == IL_PALETTE) {
|
||||
if (pDstData->pPalette)
|
||||
pPipe->image.info.pPalette = pDstData->pPalette;
|
||||
|
||||
Reference in New Issue
Block a user