--- jax/jax.c.orig 2008-01-08 00:00:42.000000000 +0100
+++ jax/jax.c 2008-01-08 00:01:14.000000000 +0100
@@ -1,4 +1,5 @@
#include <stdio.h>
+#include <stdint.h>
#include "jax.h"
/*****************************************************************************/
@@ -49,7 +50,7 @@
(jax->options[j].name2 && !strcmp(jax->options[j].name2, argv[i])))
{
c++;
- if((int)(*jax->options[j].str)>1)
+ if((intptr_t)(*jax->options[j].str)>1)
{
if (*argc>i+1)
{
@@ -65,7 +66,7 @@
}
else
{
- *jax->options[j].str=(char*)(((int)(*jax->options[j].str+1))%2);
+ *jax->options[j].str=(char*)(((intptr_t)(*jax->options[j].str+1))%2);
JAXshiftopts(i, 1, argc, argv);
j=-1;
}