diff options
Diffstat (limited to 'gdb/win32-nat.c')
-rw-r--r-- | gdb/win32-nat.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/win32-nat.c b/gdb/win32-nat.c index 92a2b5f..a85d482 100644 --- a/gdb/win32-nat.c +++ b/gdb/win32-nat.c @@ -2009,7 +2009,8 @@ _initialize_check_for_gdb_ini (void) { int len = strlen (oldini); char *newini = alloca (len + 1); - sprintf (newini, "%.*s.gdbinit", len - (sizeof ("gdb.ini") - 1), oldini); + sprintf (newini, "%.*s.gdbinit", + (int) (len - (sizeof ("gdb.ini") - 1)), oldini); warning ("obsolete '%s' found. Rename to '%s'.", oldini, newini); } } |