fixed nxxml.c:865: warning: int format, long int arg (arg 5)
This commit is contained in:
2
nxxml.c
2
nxxml.c
@ -862,7 +862,7 @@ static char *formatAttributeData(void *data, int datalen, int iType){
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if(intData){
|
if(intData){
|
||||||
snprintf(number,79,"%s%d",type,iValue);
|
snprintf(number,79,"%s%ld",type,iValue);
|
||||||
} else {
|
} else {
|
||||||
snprintf(number,79,"%s%f",type,dValue);
|
snprintf(number,79,"%s%f",type,dValue);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user