1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-ag,v 1.1 2001/03/11 16:22:08 martin Exp $
--- models/mge-ellipse.c.orig Tue Feb 27 05:36:19 2001
+++ models/mge-ellipse.c Sun Mar 11 17:13:07 2001
@@ -695,7 +695,7 @@
start = buf;
fprintf(stderr,"%s: (%d bytes)\n", msg, len);
while (len > 0) {
- snprintf(line, sizeof(line), "%08x: ", buf - start);
+ snprintf(line, sizeof(line), "%08lx: ", (unsigned long)(buf - start));
out = line + 10;
for (i = 0, pc = buf, nlocal = len; i < 16; i++, pc++) {
|