[PD-cvs] pd/src d_ctl.c,1.3.4.1,1.3.4.2 d_soundfile.c,1.4.4.2,1.4.4.3 d_arithmetic.c,1.2.4.1,1.2.4.2

Tim Blechmann timblech at users.sourceforge.net
Mon Nov 22 21:25:14 CET 2004


Update of /cvsroot/pure-data/pd/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12129

Modified Files:
      Tag: devel_0_38
	d_ctl.c d_soundfile.c d_arithmetic.c 
Log Message:
fixing some warnings

Index: d_ctl.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/d_ctl.c,v
retrieving revision 1.3.4.1
retrieving revision 1.3.4.2
diff -C2 -d -r1.3.4.1 -r1.3.4.2
*** d_ctl.c	5 Nov 2004 13:39:55 -0000	1.3.4.1
--- d_ctl.c	22 Nov 2004 20:25:11 -0000	1.3.4.2
***************
*** 22,26 ****
  } t_sig;
  
! static t_int *sig_tilde_perform(t_int *w)
  {
      t_float f = *(t_float *)(w[1]);
--- 22,26 ----
  } t_sig;
  
! t_int *sig_tilde_perform(t_int *w)
  {
      t_float f = *(t_float *)(w[1]);
***************
*** 32,36 ****
  }
  
! static t_int *sig_tilde_perf8(t_int *w)
  {
      t_float f = *(t_float *)(w[1]);
--- 32,36 ----
  }
  
! t_int *sig_tilde_perf8(t_int *w)
  {
      t_float f = *(t_float *)(w[1]);

Index: d_arithmetic.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/d_arithmetic.c,v
retrieving revision 1.2.4.1
retrieving revision 1.2.4.2
diff -C2 -d -r1.2.4.1 -r1.2.4.2
*** d_arithmetic.c	5 Nov 2004 13:39:55 -0000	1.2.4.1
--- d_arithmetic.c	22 Nov 2004 20:25:12 -0000	1.2.4.2
***************
*** 351,355 ****
  
  /* T.Grill - squaring: optimized * for equal input signals */
! static t_int *sqr_perf8(t_int *w)
  {
      t_float *in = (t_float *)(w[1]);
--- 351,355 ----
  
  /* T.Grill - squaring: optimized * for equal input signals */
! t_int *sqr_perf8(t_int *w)
  {
      t_float *in = (t_float *)(w[1]);

Index: d_soundfile.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/d_soundfile.c,v
retrieving revision 1.4.4.2
retrieving revision 1.4.4.3
diff -C2 -d -r1.4.4.2 -r1.4.4.3
*** d_soundfile.c	14 Nov 2004 12:08:02 -0000	1.4.4.2
--- d_soundfile.c	22 Nov 2004 20:25:11 -0000	1.4.4.3
***************
*** 1585,1593 ****
  
  #ifdef _POSIX_MEMLOCK
! 		munlockall();
  #endif
      if (was > n)
      {
! 		nvec = copyalignedbytes(x->x_array.a_vec, was * elemsize);
      }
      else
--- 1585,1593 ----
  
  #ifdef _POSIX_MEMLOCK
! 	munlockall();
  #endif
      if (was > n)
      {
! 		nvec = (char*)copyalignedbytes(x->x_array.a_vec, was * elemsize);
      }
      else
***************
*** 2107,2116 ****
  {
      soundfiler_class = class_new(gensym("soundfiler"), (t_newmethod)soundfiler_new, 
!         0, sizeof(t_soundfiler), 0, 0);
  #ifdef THREADED_SF
      class_addmethod(soundfiler_class, (t_method)soundfiler_t_read_addq, 
  		    gensym("read"), A_GIMME, 0);
!     class_addmethod(soundfiler_class, (t_method)soundfiler_t_write_addq,
! 		    gensym("write"), A_GIMME, 0);
      class_addmethod(soundfiler_class, (t_method)soundfiler_t_resize_addq,
  		    gensym("resize"), A_GIMME, 0);
--- 2107,2116 ----
  {
      soundfiler_class = class_new(gensym("soundfiler"), (t_newmethod)soundfiler_new, 
! 								 0, sizeof(t_soundfiler), 0, 0);
  #ifdef THREADED_SF
      class_addmethod(soundfiler_class, (t_method)soundfiler_t_read_addq, 
  		    gensym("read"), A_GIMME, 0);
! /*     class_addmethod(soundfiler_class, (t_method)soundfiler_t_write_addq, */
! /* 		    gensym("write"), A_GIMME, 0); */
      class_addmethod(soundfiler_class, (t_method)soundfiler_t_resize_addq,
  		    gensym("resize"), A_GIMME, 0);





More information about the Pd-cvs mailing list