summaryrefslogtreecommitdiff
path: root/decode_render.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2009-05-06 21:43:59 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2009-05-06 21:44:37 -0700
commit50ef34933ba3e846605d52a96619323e12887959 (patch)
treebb1b0c722700eee128ca15df4764393af4d28bda /decode_render.c
parent0167af41624e8ef86b657d83ece09fe4e12fd6a2 (diff)
downloadxscope-50ef34933ba3e846605d52a96619323e12887959.tar.gz
Clear many compiler & sparse warnings
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
Diffstat (limited to 'decode_render.c')
-rw-r--r--decode_render.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/decode_render.c b/decode_render.c
index 6c46381..e1f5c05 100644
--- a/decode_render.c
+++ b/decode_render.c
@@ -116,7 +116,7 @@ PrintPICTURE (
if (n == 0)
fprintf(stdout, "None");
else
- fprintf(stdout, "PICTURE %08x", n);
+ fprintf(stdout, "PICTURE %08lx", n);
return(4);
}
@@ -129,7 +129,7 @@ PrintPICTFORMAT (
if (n == 0)
fprintf(stdout, "None");
else
- fprintf(stdout, "PICTFORMAT %08x", n);
+ fprintf(stdout, "PICTFORMAT %08lx", n);
return(4);
}
@@ -142,11 +142,11 @@ PrintPICTFORMINFO (
short t = IByte(buf+4);
short d = IByte(buf+5);
- fprintf (stdout, "PICTFORMINFO %08x %s %d ",
+ fprintf (stdout, "PICTFORMINFO %08lx %s %d ",
n, t == 0 ? "Indexed" : "Direct", d);
if (t == 0) {
long c = ILong(buf+20);
- fprintf (stdout, "cmap %08x", c);
+ fprintf (stdout, "cmap %08lx", c);
} else {
short r = IShort(buf+8);
short g = IShort(buf+12);
@@ -166,7 +166,7 @@ PrintGLYPHSET (
if (n == 0)
fprintf(stdout, "None");
else
- fprintf(stdout, "GLYPHSET %08x", n);
+ fprintf(stdout, "GLYPHSET %08lx", n);
return(4);
}