Changes to make SICS compile on OSX Maverick with clang
This commit is contained in:
4
scan.c
4
scan.c
@ -1277,7 +1277,7 @@ static int ScanDynInterest(int iEvent, void *pEventData, void *pUser)
|
||||
if (pCount != NULL) {
|
||||
lVal = pCount->lCount;
|
||||
} else {
|
||||
lVal = -9999.99;
|
||||
lVal = -9999;
|
||||
}
|
||||
snprintf(pBueffel, 255, "%s.scanpoint = {%d %f %ld}",
|
||||
self->objectName, i, fVal, lVal);
|
||||
@ -1624,7 +1624,7 @@ int ScanWrapper(SConnection * pCon, SicsInterp * pSics, void *pData,
|
||||
float *fData = NULL;
|
||||
int lNP;
|
||||
int iChannel;
|
||||
int iRet, iMode, i;
|
||||
int iRet = 0, iMode, i;
|
||||
char *pPtr = NULL, pItem[20];
|
||||
long *lData = NULL, lID;
|
||||
int *iData;
|
||||
|
Reference in New Issue
Block a user