projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add casts for legitimate integer to enum conversions
[deliverable/binutils-gdb.git]
/
gdb
/
ax-general.c
diff --git
a/gdb/ax-general.c
b/gdb/ax-general.c
index 3e31144b64fe72190af22e67d65d617c0f1889ae..485b2ad10307469c1c454b9298c2402f30713318 100644
(file)
--- a/
gdb/ax-general.c
+++ b/
gdb/ax-general.c
@@
-391,7
+391,7
@@
ax_print (struct ui_file *f, struct agent_expr *x)
for (i = 0; i < x->len;)
{
- enum agent_op op = x->buf[i];
+ enum agent_op op =
(enum agent_op)
x->buf[i];
if (op >= (sizeof (aop_map) / sizeof (aop_map[0]))
|| !aop_map[op].name)
This page took
0.025448 seconds
and
4
git commands to generate.