Mercurial > libdvdnav.hg
diff vm/decoder.c @ 330:e851da7ec146 src
static-ize a const; patch by Diego Petten?
| author | nicodvb |
|---|---|
| date | Sat, 05 Jan 2008 09:22:45 +0000 |
| parents | 2146ff691bcd |
| children | 2e9382be8e25 |
line wrap: on
line diff
--- 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:
