Skip to content
Permalink
Browse files
Fixed a few compiler warnings
  • Loading branch information
montywi committed Jan 23, 2018
1 parent b3c7cf8 commit d5d0c62
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
@@ -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

/***********************************************************************/

0 comments on commit d5d0c62

Please sign in to comment.