aboutsummaryrefslogtreecommitdiff
path: root/gdb/somsolib.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/somsolib.c')
-rw-r--r--gdb/somsolib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/somsolib.c b/gdb/somsolib.c
index f9807ab..5f2b2cb 100644
--- a/gdb/somsolib.c
+++ b/gdb/somsolib.c
@@ -778,7 +778,7 @@ som_solib_add (char *arg_string, int from_tty, struct target_ops *target)
som_solib_st_size_threshold_exceeded =
!from_tty &&
auto_solib_add &&
- ((st_size + som_solib_total_st_size) > (auto_solib_limit * (LONGEST) 1000000));
+ ((st_size + som_solib_total_st_size) > (auto_solib_limit * (LONGEST) (1024 * 1024)));
if (som_solib_st_size_threshold_exceeded)
{