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

@@ -600,19 +600,21 @@ static FormatStruct DefFormatStruct =
SdlTypeDynamic, /* SdlOption sdl_type */
SdlWindowCurrent, /* SdlOption window; */
SdlInterpKsh, /* SdlOption interp; */
0, /* SDLNumber count/offset; */
{ 0 }, /* SDLNumber count/offset; */
NULL, /* SDLCdata language; */
NULL, /* SDLCdata char_set; */
NULL, /* SDLCdata id; */
NULL, /* SDLCdata elstr1; */
NULL, /* SDLCdata elstr2; */
{ /* SDLDocInfo doc_info; */
{
NULL, /* SDLCdata language; */
NULL, /* SDLCdata char_set; */
NULL, /* SDLId first_pg; */
NULL, /* SDLCdata doc-id; */
NULL, /* SDLCdata timestamp; */
NULL, /* SDLCdata sdldtd; */
},
},
{ /* SdlMatchData */
SdlClassText, /* SdlOption clan; */
@@ -9355,7 +9357,7 @@ CreateTitleChunks(
int *ret_cnt,
void ***ret_chunks)
{
int type;
long type;
int cnt;
int result = 0;
const char *myLang;