projects
/
oweals
/
cde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
286d189
)
gpftobdf.c: fix long int comiler warnings
author
chase
<chase@localhost.com>
Sun, 30 Sep 2018 14:49:27 +0000
(09:49 -0500)
committer
Jon Trulson
<jon@radscan.com>
Sun, 30 Sep 2018 23:26:27 +0000
(17:26 -0600)
cde/programs/dtudcfonted/dtgpftobdf/gpftobdf.c
patch
|
blob
|
history
diff --git
a/cde/programs/dtudcfonted/dtgpftobdf/gpftobdf.c
b/cde/programs/dtudcfonted/dtgpftobdf/gpftobdf.c
index 41db3ad363ff8d32fc01c144d5e6dcef841bb327..455d2fc11f0ac3449f6d02e14b6d65a1733470dc 100644
(file)
--- a/
cde/programs/dtudcfonted/dtgpftobdf/gpftobdf.c
+++ b/
cde/programs/dtudcfonted/dtgpftobdf/gpftobdf.c
@@
-974,7
+974,7
@@
pPROPS( FontInfoRec *fip, FontPropRec *fplistPtr, unsigned int fplistNum )
bufp += k;
wkp = fplistPtr;
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 %
l
d\n", (char *) (intptr_t) wkp->name, wkp->value );
bufp += k;
wkp++;
}
@@
-1017,7
+1017,7
@@
pPROPS_pcf(PcfTmp *pcf)
);
bufp += k;
} else {
- k = sprintf(bufp,"%s %d\n",
+ k = sprintf(bufp,"%s %
l
d\n",
pcf->string + wkp->name, wkp->value
);
bufp += k;