projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* dsrec.c (load_srec, make_srec): Use bfd_get_section_size instead of
[binutils-gdb.git]
/
gdb
/
bcache.c
diff --git
a/gdb/bcache.c
b/gdb/bcache.c
index cadadb5cce63f575591bd5ac0ca32c39259c8b0a..0bc533ebfefc35058f27dab49774eda6f98290ca 100644
(file)
--- a/
gdb/bcache.c
+++ b/
gdb/bcache.c
@@
-303,7
+303,7
@@
print_percentage (int portion, int total)
if (total == 0)
printf_filtered ("(not applicable)\n");
else
- printf_filtered ("%3d%%\n",
portion * 100 / total
);
+ printf_filtered ("%3d%%\n",
(int) (portion * 100.0 / total)
);
}