projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gdb: Force use of float version of log10
[deliverable/binutils-gdb.git]
/
gdb
/
maint.c
diff --git
a/gdb/maint.c
b/gdb/maint.c
index 286ec31013571b661f166a4666c9bfee30318dad..1a621a17191f89e83805898accb356a5a4733163 100644
(file)
--- a/
gdb/maint.c
+++ b/
gdb/maint.c
@@
-301,7
+301,7
@@
struct maint_print_section_data
arg(arg)
{
int section_count = gdb_bfd_count_sections (abfd);
- index_digits = ((int) log10 (section_count)) + 1;
+ index_digits = ((int) log10 (
(float)
section_count)) + 1;
}
private:
This page took
0.035282 seconds
and
4
git commands to generate.