[PD-cvs] externals/pdp/system/png pdp_png.c,1.3,1.4

Tom Schouten doelie at users.sourceforge.net
Fri Sep 1 15:45:33 CEST 2006


Update of /cvsroot/pure-data/externals/pdp/system/png
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2628/system/png

Modified Files:
	pdp_png.c 
Log Message:
pdp current darcs merge

Index: pdp_png.c
===================================================================
RCS file: /cvsroot/pure-data/externals/pdp/system/png/pdp_png.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** pdp_png.c	16 Dec 2005 01:05:40 -0000	1.3
--- pdp_png.c	1 Sep 2006 13:45:31 -0000	1.4
***************
*** 89,93 ****
  static int _open_read(t_png_image* x, char *file)
  {
!     char header[SIG_BYTES];
      int is_png;
  
--- 89,93 ----
  static int _open_read(t_png_image* x, char *file)
  {
!     unsigned char header[SIG_BYTES];
      int is_png;
  
***************
*** 244,248 ****
  {
      int nbchans = 0;
!     char *image_data;
      png_bytep row_pointers[x->x_height];
      png_uint_32 i;
--- 244,248 ----
  {
      int nbchans = 0;
!     unsigned char *image_data;
      png_bytep row_pointers[x->x_height];
      png_uint_32 i;
***************
*** 278,282 ****
      int nbchans;
      t_pdp *h = pdp_packet_header(packet);
!     char *image_data = (char *)pdp_packet_data(packet);
  
      if (!h) return 0;
--- 278,282 ----
      int nbchans;
      t_pdp *h = pdp_packet_header(packet);
!     unsigned char *image_data = (unsigned char *)pdp_packet_data(packet);
  
      if (!h) return 0;





More information about the Pd-cvs mailing list