# HG changeset patch # User nicodvb # Date 1199524965 0 # Node ID e851da7ec14611beb55a5652c2c5cd6f9d1550cc # Parent 071927ab53575478913c52a04973a0f7ce245bbe static-ize a const; patch by Diego Petten diff -r 071927ab5357 -r e851da7ec146 vm/decoder.c --- a/vm/decoder.c Mon Dec 31 18:17:34 2007 +0000 +++ b/vm/decoder.c Sat Jan 05 09:22:45 2008 +0000 @@ -417,7 +417,7 @@ For the swap case the contents of reg is stored in reg2. */ static void eval_set_op(command_t* command, int32_t op, int32_t reg, int32_t reg2, int32_t data) { - const int32_t shortmax = 0xffff; + static const int32_t shortmax = 0xffff; int32_t tmp; switch(op) { case 1: