- cleaned up makefiles

- polished code to avoid warnings
This commit is contained in:
zolliker
2005-03-08 11:12:23 +00:00
parent 350c410bdf
commit 94075f06c7
60 changed files with 189 additions and 286 deletions

View File

@ -90,14 +90,14 @@
iRet = Tcl_GetInt(pSics->pTcl,argv[1],&iStart);
if(iRet != TCL_OK)
{
sprintf(pBueffel,"ERROR: cannot convert %d to integer",argv[1]);
sprintf(pBueffel,"ERROR: cannot convert %s to integer",argv[1]);
SCWrite(pCon,pBueffel,eError);
return 0;
}
iRet = Tcl_GetInt(pSics->pTcl,argv[2],&iEnd);
if(iRet != TCL_OK)
{
sprintf(pBueffel,"ERROR: cannot convert %d to integer",argv[2]);
sprintf(pBueffel,"ERROR: cannot convert %s to integer",argv[2]);
SCWrite(pCon,pBueffel,eError);
return 0;
}
@ -109,7 +109,7 @@
iRet = Tcl_GetInt(pSics->pTcl,argv[3],&iBank);
if(iRet != TCL_OK)
{
sprintf(pBueffel,"ERROR: cannot convert %d to integer",argv[3]);
sprintf(pBueffel,"ERROR: cannot convert %s to integer",argv[3]);
SCWrite(pCon,pBueffel,eError);
return 0;
}
@ -286,7 +286,7 @@
iRet = Tcl_GetInt(pSics->pTcl,argv[1],&iBank);
if(iRet != TCL_OK)
{
sprintf(pBueffel,"ERROR: cannot convert %d to integer",argv[1]);
sprintf(pBueffel,"ERROR: cannot convert %s to integer",argv[1]);
SCWrite(pCon,pBueffel,eError);
return 0;
}
@ -554,4 +554,5 @@ HistInt *CheckBank(pFocusAverager self, SConnection *pCon,
mergData = getFMBankPointer(4);
return mergData;
}
return NULL; /* inserted statement, guessed return value M.Z */
}