* [vincent] fix autotools for various compilation problems

* [vincent] fix indexer compilation. Patch from Winfried
This commit is contained in:
Vincent Torri
2011-09-30 21:14:25 +00:00
parent 656628e69b
commit f4734d6b4d
11 changed files with 33 additions and 22 deletions

View File

@@ -32,6 +32,8 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <stdio.h>
#include "cio_ext.h"
#include "event.h"
@@ -43,7 +45,7 @@
opj_bool cio_ext_byteout(opj_cio_t *cio, unsigned char v);
unsigned int cio_ext_write( opj_cio_t *cio, unsigned long long int v, int n)
{
{
int i;
for (i = n - 1; i >= 0; i--) {
if( !cio_ext_byteout(cio, (unsigned char) ((v >> (i << 3)) & 0xff)) )