Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/gnu/usr.bin/ld/ld Fix printf(3) format warning (per Kurt Sch...



details:   https://anonhg.NetBSD.org/src/rev/4ee67c3676c8
branches:  trunk
changeset: 474002:4ee67c3676c8
user:      pk <pk%NetBSD.org@localhost>
date:      Fri Jun 25 12:10:42 1999 +0000

description:
Fix printf(3) format warning (per Kurt Schreiner on port-sparc).

diffstat:

 gnu/usr.bin/ld/ld/ld.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 47ed7eec7f44 -r 4ee67c3676c8 gnu/usr.bin/ld/ld/ld.c
--- a/gnu/usr.bin/ld/ld/ld.c    Fri Jun 25 07:36:36 1999 +0000
+++ b/gnu/usr.bin/ld/ld/ld.c    Fri Jun 25 12:10:42 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ld.c,v 1.64 1999/02/27 03:31:12 tv Exp $       */
+/*     $NetBSD: ld.c,v 1.65 1999/06/25 12:10:42 pk Exp $       */
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -88,7 +88,7 @@
 
 #ifndef lint
 /* from: "@(#)ld.c     6.10 (Berkeley) 5/22/91"; */
-__RCSID("$NetBSD: ld.c,v 1.64 1999/02/27 03:31:12 tv Exp $");
+__RCSID("$NetBSD: ld.c,v 1.65 1999/06/25 12:10:42 pk Exp $");
 #endif /* not lint */
 
 #define GNU_BINUTIL_COMPAT     /* forwards compatiblity with binutils 2.x */
@@ -2312,7 +2312,7 @@
        if (setv_fill_count != set_sect_size/sizeof(long))
                errx(1, "internal error: allocated set symbol space (%d) "
                        "doesn't match actual (%d)",
-                       set_sect_size/sizeof(long), setv_fill_count);
+                       set_sect_size/(int)sizeof(long), setv_fill_count);
 }
 
 



Home | Main Index | Thread Index | Old Index