components/libsndfile/patches/test_strncpy_crlf.c.patch
author Kevin Crowe <Kevin.Crowe@oracle.com>
Wed, 08 Jun 2011 16:19:46 -0700
changeset 290 4a5d715e84b4
permissions -rw-r--r--
7052146 migrate libsndfile to userland

*** libsndfile-1.0.23/src/test_strncpy_crlf.c	Mon Oct  4 04:14:50 2010
--- libsndfile-1.0.23/src/test_strncpy_crlf.c.new	Mon Jun  6 08:22:40 2011
***************
*** 28,34 ****
  void
  test_strncpy_crlf (void)
  {	const char *src = "a\nb\nc\n" ;
! 	char *dest ;
  	int dest_len ;
  
  	print_test_name ("Testing psf_strncpy_crlf") ;
--- 28,34 ----
  void
  test_strncpy_crlf (void)
  {	const char *src = "a\nb\nc\n" ;
! 	unsigned char *dest ;
  	int dest_len ;
  
  	print_test_name ("Testing psf_strncpy_crlf") ;