diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2013-10-24 19:56:03 +0200 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2013-10-24 19:56:03 +0200 |
commit | f157bd98c51ce91b009245b762baf45cd2763faa (patch) | |
tree | e77dc304f92f7bee956d191094dd7bbf711e727e | |
parent | 5a4ae8aa1b6522d36472b79d6c2f437c50aa1295 (diff) | |
download | mdk-f157bd98c51ce91b009245b762baf45cd2763faa.tar.gz mdk-f157bd98c51ce91b009245b762baf45cd2763faa.tar.bz2 |
Invalid assertion in xmix_vm.c (closes #40359)
-rw-r--r-- | mixlib/xmix_vm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mixlib/xmix_vm.c b/mixlib/xmix_vm.c index dec0289..0f1104a 100644 --- a/mixlib/xmix_vm.c +++ b/mixlib/xmix_vm.c @@ -1,7 +1,7 @@ /* ---------------------- xmix_vm.c : * Implementation of the functions declared in xmix_vm.h * ------------------------------------------------------------------ - * Copyright (C) 2000, 2003, 2004, 2007, 2010 Free Software Foundation, Inc. + * Copyright (C) 2000, 2003, 2004, 2007, 2010, 2013 Free Software Foundation, Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -439,7 +439,7 @@ jpx_handler_ (mix_vm_t *vm, const mix_ins_t *ins) mix_ins_id_t id = mix_ins_id_from_ins (*ins); mix_word_t val; - g_assert (ins->opcode >= mix_opJAx || ins->opcode <= mix_opJXx); + g_assert (ins->opcode >= mix_opJAx && ins->opcode <= mix_opJXx); fail_if_not_ (vm, MEMOK_ (addr), MIX_VM_ERROR_BAD_ACCESS); switch (ins->opcode) { |