summaryrefslogtreecommitdiff
path: root/src/sm_error.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sm_error.c')
-rw-r--r--src/sm_error.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/sm_error.c b/src/sm_error.c
index 241d587..728de79 100644
--- a/src/sm_error.c
+++ b/src/sm_error.c
@@ -25,6 +25,7 @@ used in advertising or otherwise to promote the sale, use or other dealings
in this Software without prior written authorization from The Open Group.
*/
+/* $XFree86: xc/lib/SM/sm_error.c,v 1.3 2001/12/14 19:53:55 dawes Exp $ */
/*
* Author: Ralph Mor, X Consortium
@@ -89,7 +90,7 @@ SmPointer values;
fprintf (stderr, "XSMP error: Offending minor opcode = %d (%s)\n",
offendingMinorOpcode, str);
- fprintf (stderr, " Offending sequence number = %d\n",
+ fprintf (stderr, " Offending sequence number = %ld\n",
offendingSequence);
switch (errorClass)
@@ -212,7 +213,7 @@ SmPointer values;
fprintf (stderr, "XSMP error: Offending minor opcode = %d (%s)\n",
offendingMinorOpcode, str);
- fprintf (stderr, " Offending sequence number = %d\n",
+ fprintf (stderr, " Offending sequence number = %ld\n",
offendingSequence);
switch (errorClass)