This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 3/6] messages.c: constify argument to as_internal_value_out_of_range ()


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]