corrected warnings

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Gilles Depeyrot
2002-07-14 13:21:23 +00:00
parent 32f1f0837e
commit dda2e4fdca
3 changed files with 19 additions and 19 deletions

View File

@@ -192,7 +192,7 @@ int tableNo = 0;
FILE *CurrentOutput1 = NULL; FILE *CurrentOutput1 = NULL;
FILE *CurrentOutput2 = NULL; FILE *CurrentOutput2 = NULL;
FILE *Inputs[15]; FILE *Inputs[15];
int LineNumbers[15]; unsigned long LineNumbers[15];
char *FileNames[15]; char *FileNames[15];
int CurrentInputIndex = 0; int CurrentInputIndex = 0;
@@ -436,7 +436,7 @@ bool read_a_line(char *buf)
} }
int ch = -2; int ch = -2;
int bufIndex = 0; unsigned long bufIndex = 0;
buf[0] = 0; buf[0] = 0;
while (ch != EOF && ch != 10) while (ch != EOF && ch != 10)

View File

@@ -36,9 +36,9 @@
#ifdef __WXMSW__ #ifdef __WXMSW__
const int MAX_LINE_BUFFER_SIZE = 600; const unsigned long MAX_LINE_BUFFER_SIZE = 600;
#else #else
const int MAX_LINE_BUFFER_SIZE = 11000; const unsigned long MAX_LINE_BUFFER_SIZE = 11000;
#endif #endif
class TexMacroDef: public wxObject class TexMacroDef: public wxObject

View File

@@ -1581,11 +1581,11 @@ void InitialiseColourTable(void)
* called, since under Windows this can slow things down. * called, since under Windows this can slow things down.
*/ */
static int yieldCount = 0;
void Tex2RTFYield(bool force) void Tex2RTFYield(bool force)
{ {
#ifdef __WXMSW__ #ifdef __WXMSW__
static int yieldCount = 0;
if (isSync) if (isSync)
return; return;