Fixed a few compiler warnings

This commit is contained in:
Monty 2018-01-23 19:21:58 +02:00
parent b3c7cf81e3
commit d5d0c62459
2 changed files with 2 additions and 2 deletions

View File

@ -529,7 +529,7 @@ YY_DECL
pp->Num = 0;
if (pp->InFmt) {*pp->InFmt = '\0'; pp->InFmt[pp->Outsize -1] = '\0'; }
if (pp->OutFmt) {*pp->OutFmt = '\0'; pp->OutFmt[pp->Outsize -1] = '\0'; }
pp->Curp = pp->Format;
pp->Curp = (char*) pp->Format;
yy_init = 1; /* This is a new input */

View File

@ -650,7 +650,7 @@ bool TDBTBM::IsLocal(PTABLE tbp)
return ((!stricmp(tdbp->Host, "localhost") ||
!strcmp(tdbp->Host, "127.0.0.1")) &&
tdbp->Port == (int)GetDefaultPort());
(int) tdbp->Port == (int)GetDefaultPort());
} // end of IsLocal
/***********************************************************************/