r993 - trunk/libdvdnav/src/vm/decoder.c
Author: nicodvb Date: Sat Jan 5 10:22:45 2008 New Revision: 993 Log: static-ize a const; patch by Diego Pettenò Modified: trunk/libdvdnav/src/vm/decoder.c Modified: trunk/libdvdnav/src/vm/decoder.c ============================================================================== --- trunk/libdvdnav/src/vm/decoder.c (original) +++ trunk/libdvdnav/src/vm/decoder.c Sat Jan 5 10:22:45 2008 @@ -417,7 +417,7 @@ static int32_t eval_system_set(command_t 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:
participants (1)
-
nicodvb