This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH 3/6] messages.c: constify argument to as_internal_value_out_of_range ()
- From: tbsaunde+binutils at tbsaunde dot org
- To: binutils at sourceware dot org
- Date: Tue, 16 Feb 2016 22:54:19 -0500
- Subject: [PATCH 3/6] messages.c: constify argument to as_internal_value_out_of_range ()
- Authentication-results: sourceware.org; auth=none
- References: <1455681262-11896-1-git-send-email-tbsaunde+binutils at tbsaunde dot org>
From: Trevor Saunders <tbsaunde@tbsaunde.org>
gas/ChangeLog:
2016-02-16 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
* messages.c (as_internal_value_out_of_range): Make type of prefix
const char *.
---
gas/messages.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gas/messages.c b/gas/messages.c
index f161dc3..bf2370d 100644
--- a/gas/messages.c
+++ b/gas/messages.c
@@ -342,7 +342,7 @@ sprint_value (char *buf, valueT val)
#define HEX_MIN_THRESHOLD -(HEX_MAX_THRESHOLD)
static void
-as_internal_value_out_of_range (char * prefix,
+as_internal_value_out_of_range (const char * prefix,
offsetT val,
offsetT min,
offsetT max,
--
2.7.0