fixed nxxml.c:865: warning: int format, long int arg (arg 5)

This commit is contained in:
zolliker
2005-08-24 09:06:37 +00:00
parent 9ef423d63e
commit 15f8b69bc3

View File

@ -862,7 +862,7 @@ static char *formatAttributeData(void *data, int datalen, int iType){
break;
}
if(intData){
snprintf(number,79,"%s%d",type,iValue);
snprintf(number,79,"%s%ld",type,iValue);
} else {
snprintf(number,79,"%s%f",type,dValue);
}