aboutsummaryrefslogtreecommitdiff
path: root/gdb/c-valprint.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/c-valprint.c')
-rw-r--r--gdb/c-valprint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/c-valprint.c b/gdb/c-valprint.c
index 10bcda7..07289de 100644
--- a/gdb/c-valprint.c
+++ b/gdb/c-valprint.c
@@ -87,7 +87,7 @@ c_val_print (type, valaddr, embedded_offset, address, stream, format, deref_ref,
elements up to it. */
if (stop_print_at_null)
{
- int temp_len;
+ unsigned int temp_len;
/* Look for a NULL char. */
for (temp_len = 0;