mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 04:42:32 +00:00
[gamecode] Fix an enum cast warning
Harmless, but it doesn't hurt to make it explicit.
This commit is contained in:
parent
cdcf1a71ea
commit
f601606ad7
1 changed files with 2 additions and 2 deletions
|
@ -1622,7 +1622,7 @@ PR_Check_v6p_Opcodes (progs_t *pr)
|
|||
if (0 && !pr_boundscheck->int_val) {
|
||||
for (i = 0, st = pr->pr_statements; i < pr->progs->statements.count;
|
||||
st++, i++) {
|
||||
pr_opcode_v6p_e st_op = st->op;
|
||||
pr_opcode_v6p_e st_op = (pr_opcode_v6p_e) st->op;
|
||||
op = PR_v6p_Opcode (st_op);
|
||||
if (!op) {
|
||||
PR_Error (pr, "PR_Check_Opcodes: unknown opcode %d at "
|
||||
|
@ -1643,7 +1643,7 @@ PR_Check_v6p_Opcodes (progs_t *pr)
|
|||
} else {
|
||||
for (i = 0, st = pr->pr_statements; i < pr->progs->statements.count;
|
||||
st++, i++) {
|
||||
pr_opcode_v6p_e st_op = st->op;
|
||||
pr_opcode_v6p_e st_op = (pr_opcode_v6p_e) st->op;
|
||||
op = PR_v6p_Opcode (st_op);
|
||||
if (!op) {
|
||||
PR_Error (pr, "PR_Check_Opcodes: unknown opcode %d at "
|
||||
|
|
Loading…
Reference in a new issue