[PD] Sending negative numbers over OSC

Frank Barknecht fbar at footils.org
Fri Dec 19 17:50:32 CET 2003

Martin Peach hat gesagt: // Martin Peach wrote:

> Notice that this fix was for the problem with negative ints.
> The floats would be repaired like this:
> around line 750:
> ###
>   case f: {
>     int i = ntohl(*((int *)p));
> to
>   case f: {
>     int i = (signed)ntohl(*((int *)p));
> ###
> Now negative ints and floats seem to work, for me at least...

Floats seemed to work okay already, I thought. Didn't they? 

I've put your first patch into the CVS now. 

 Frank Barknecht                               _ ______footils.org__

More information about the Pd-list mailing list