mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
gpftobdf.c: fix long int comiler warnings
This commit is contained in:
parent
286d1895c4
commit
d8c017caa2
1 changed files with 2 additions and 2 deletions
|
@ -974,7 +974,7 @@ pPROPS( FontInfoRec *fip, FontPropRec *fplistPtr, unsigned int fplistNum )
|
||||||
bufp += k;
|
bufp += k;
|
||||||
wkp = fplistPtr;
|
wkp = fplistPtr;
|
||||||
for ( i = 0; i < fplistNum; i++ ) {
|
for ( i = 0; i < fplistNum; i++ ) {
|
||||||
k = snprintf( bufp, sizeof(buf) - (bufp - buf), "%s %d\n", (char *) (intptr_t) wkp->name, wkp->value );
|
k = snprintf( bufp, sizeof(buf) - (bufp - buf), "%s %ld\n", (char *) (intptr_t) wkp->name, wkp->value );
|
||||||
bufp += k;
|
bufp += k;
|
||||||
wkp++;
|
wkp++;
|
||||||
}
|
}
|
||||||
|
@ -1017,7 +1017,7 @@ pPROPS_pcf(PcfTmp *pcf)
|
||||||
);
|
);
|
||||||
bufp += k;
|
bufp += k;
|
||||||
} else {
|
} else {
|
||||||
k = sprintf(bufp,"%s %d\n",
|
k = sprintf(bufp,"%s %ld\n",
|
||||||
pcf->string + wkp->name, wkp->value
|
pcf->string + wkp->name, wkp->value
|
||||||
);
|
);
|
||||||
bufp += k;
|
bufp += k;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue