From 4124ff9971b78f172ee2a8ec07a5542d7a5a56d5 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 28 Aug 2002 10:16:21 +0000 Subject: (strtol): Add some more casts to avoid warnings. --- stdlib/fmtmsg.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'stdlib/fmtmsg.c') diff --git a/stdlib/fmtmsg.c b/stdlib/fmtmsg.c index bb8502f00b..660df1fdcb 100644 --- a/stdlib/fmtmsg.c +++ b/stdlib/fmtmsg.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1997, 1999, 2000, 2001 Free Software Foundation, Inc. +/* Copyright (C) 1997, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , 1997. @@ -162,7 +162,7 @@ fmtmsg (long int classification, const char *label, int severity, do_action ? "TO FIX: " : "", do_action ? action : "", do_action && do_tag ? " " : "", - do_tag ? tag : "") == WEOF) + do_tag ? tag : "") < 0) /* Oh, oh. An error occurred during the output. */ result = MM_NOMSG; } @@ -179,7 +179,7 @@ fmtmsg (long int classification, const char *label, int severity, do_action ? "TO FIX: " : "", do_action ? action : "", do_action && do_tag ? " " : "", - do_tag ? tag : "") == EOF) + do_tag ? tag : "") < 0) /* Oh, oh. An error occurred during the output. */ result = MM_NOMSG; } -- cgit 1.4.1