[PD] strings and negative numbers ia OSC
enrike
enrike at altern.org
Sat Feb 21 15:06:23 CET 2004
Hi
It would be nice if someone could correct this and compile the OSC
external again.
Not all window's users can afford buying a copy of Visual C to compile
externals.
> I have already pointed this one out:
>
> In OSCx/OSC/dumpOSC.c line 743, in the function
> dumpOSC_PrintTypeTaggedArgs():
>
> change
> SETFLOAT(mya+myargc,ntohl(*((int *) p)));
> to
> SETFLOAT(mya+myargc,(signed)ntohl(*((int *) p)));
>
> ...since ntohl returns an unsigned integer, you get 0xFFFFFFFF for -1,
> which equals 4294967295 decimal...
--
enrike ::
More information about the Pd-list
mailing list