Compiles and runs under Mac OS X
VS: ----------------------------------------------------------------------
This commit is contained in:
@ -117,10 +117,10 @@ static void writePolterdiGlobal(NXhandle hfil, NXdict hdict,
|
||||
|
||||
NXDputalias(hfil,hdict,"estart",pBueffel);
|
||||
SNXSPutVariable(pServ->pSics,pCon,hfil,hdict,"iname","instrument");
|
||||
sprintf(pBueffel,"%d",strlen("SINQ, PSI, Switzerland"));
|
||||
sprintf(pBueffel,"%ld",strlen("SINQ, PSI, Switzerland"));
|
||||
NXDupdate(hdict,"strdim",pBueffel);
|
||||
NXDputalias(hfil,hdict,"sname","SINQ, PSI, Switzerland");
|
||||
sprintf(pBueffel,"%d",strlen("continous spallation source"));
|
||||
sprintf(pBueffel,"%ld",strlen("continous spallation source"));
|
||||
NXDupdate(hdict,"strdim",pBueffel);
|
||||
NXDputalias(hfil,hdict,"stype","continous spallation source");
|
||||
NXDupdate(hdict,"strdim","132");
|
||||
|
Reference in New Issue
Block a user