Fixed a few compiler warnings
This commit is contained in:
parent
b3c7cf81e3
commit
d5d0c62459
@ -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 */
|
||||
|
||||
|
||||
|
@ -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
|
||||
|
||||
/***********************************************************************/
|
||||
|
Loading…
x
Reference in New Issue
Block a user