Changeset 307 for libmpc/trunk/mpc2sv8


Ignore:
Timestamp:
05/03/07 12:39:37 (18 years ago)
Author:
r2d
Message:

writeBits can't output more than 31 bits !

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libmpc/trunk/mpc2sv8/mpc2sv8.c

    r302 r307  
    141141        writeBlock(&e, "EI", MPC_FALSE, 0);
    142142        e.seek_ptr = ftell(e.outputFile);
    143         writeBits (&e, 0, 8);
    144         writeBits (&e, 0, 32); // jump 40 bits for seek table pointer
     143        writeBits (&e, 0, 16);
     144        writeBits (&e, 0, 24); // jump 40 bits for seek table pointer
    145145        writeBlock(&e, "SO", MPC_FALSE, 0); // reserve space for seek offset
    146146        while(MPC_TRUE)
Note: See TracChangeset for help on using the changeset viewer.