[PD-cvs] externals/OSCx/OSC dumpOSC.c,1.5,1.6

fbar at users.sourceforge.net fbar at users.sourceforge.net
Fri Dec 19 02:31:50 CET 2003


Update of /cvsroot/pure-data/externals/OSCx/OSC
In directory sc8-pr-cvs1:/tmp/cvs-serv29882

Modified Files:
	dumpOSC.c 
Log Message:


Added Martin Peach's bugfix for sending negative integers.


Index: dumpOSC.c
===================================================================
RCS file: /cvsroot/pure-data/externals/OSCx/OSC/dumpOSC.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** dumpOSC.c	19 Jun 2003 17:29:05 -0000	1.5
--- dumpOSC.c	19 Dec 2003 01:31:48 -0000	1.6
***************
*** 741,745 ****
        //post("integer: %d", ntohl(*((int *) p)));
  #endif
!       SETFLOAT(mya+myargc,ntohl(*((int *) p)));
        myargc++;
  
--- 741,749 ----
        //post("integer: %d", ntohl(*((int *) p)));
  #endif
!       /* Martin Peach fix for negative floats:
! 	   * was: SETFLOAT(mya+myargc,ntohl(*((int *) p))); 
! 	   * now is: 
! 	   */
!       SETFLOAT(mya+myargc,(signed)ntohl(*((int *) p)));
        myargc++;
  






More information about the Pd-cvs mailing list