Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/m4 Use correct printf format for (struct input_file ...
details: https://anonhg.NetBSD.org/src/rev/718930015d81
branches: trunk
changeset: 449865:718930015d81
user: kre <kre%NetBSD.org@localhost>
date: Tue Mar 26 23:31:45 2019 +0000
description:
Use correct printf format for (struct input_file *)->lineno
SHould unbreak 32 bit host builds.
diffstat:
usr.bin/m4/expr.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 3ebfc653c412 -r 718930015d81 usr.bin/m4/expr.c
--- a/usr.bin/m4/expr.c Tue Mar 26 23:26:03 2019 +0000
+++ b/usr.bin/m4/expr.c Tue Mar 26 23:31:45 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: expr.c,v 1.20 2019/03/26 16:39:50 christos Exp $ */
+/* $NetBSD: expr.c,v 1.21 2019/03/26 23:31:45 kre Exp $ */
/* $OpenBSD: expr.c,v 1.17 2006/01/20 23:10:19 espie Exp $ */
/*
* Copyright (c) 2004 Marc Espie <espie%cvs.openbsd.org@localhost>
@@ -19,7 +19,7 @@
#include "nbtool_config.h"
#endif
#include <sys/cdefs.h>
-__RCSID("$NetBSD: expr.c,v 1.20 2019/03/26 16:39:50 christos Exp $");
+__RCSID("$NetBSD: expr.c,v 1.21 2019/03/26 23:31:45 kre Exp $");
#include <stdint.h>
#include <stdio.h>
#include <stddef.h>
@@ -36,7 +36,7 @@
int
yyerror(const char *msg)
{
- fprintf(stderr, "m4:%s:%zu: %s in expr %s\n", infile[ilevel].name,
+ fprintf(stderr, "m4:%s:%lu: %s in expr %s\n", infile[ilevel].name,
infile[ilevel].lineno, msg, copy_toeval);
return(0);
}
Home |
Main Index |
Thread Index |
Old Index