summaryrefslogtreecommitdiff
path: root/gdb/amd64fbsd-nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/amd64fbsd-nat.c')
-rw-r--r--gdb/amd64fbsd-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/amd64fbsd-nat.c b/gdb/amd64fbsd-nat.c
index de13f188ff7..ed2d39bb742 100644
--- a/gdb/amd64fbsd-nat.c
+++ b/gdb/amd64fbsd-nat.c
@@ -289,7 +289,7 @@ Please report this to <bug-gdb@gnu.org>.",
environment can be found. */
{
int mib[2];
- int ps_strings;
+ long ps_strings;
size_t len;
mib[0] = CTL_KERN;