mirror of
https://gitee.com/openharmony/third_party_libsnd
synced 2025-02-06 10:48:57 +00:00
src/common.[ch] : Constify psf_hexdump.
This commit is contained in:
parent
e93639c398
commit
8aefc9b4e3
@ -82,3 +82,4 @@ tests/sfversion
|
||||
tests/utils.c
|
||||
tests/utils.h
|
||||
tests/write_read_test.c
|
||||
src/FLAC/src/test_libFLAC/matrix
|
||||
|
11
ChangeLog
11
ChangeLog
@ -1,3 +1,14 @@
|
||||
2007-05-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
||||
|
||||
* src/wve.c
|
||||
Fix a couple bad parameters with psf_log_printf.
|
||||
|
||||
* src/pcm.c
|
||||
Improve error reporting.
|
||||
|
||||
* src/common.h src/common.c
|
||||
Constify psf_hexdump.
|
||||
|
||||
2007-04-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
||||
|
||||
* src/FLAC
|
||||
|
@ -1112,8 +1112,9 @@ psf_default_seek (SF_PRIVATE *psf, int UNUSED (mode), sf_count_t samples_from_st
|
||||
*/
|
||||
|
||||
void
|
||||
psf_hexdump (void *ptr, int len)
|
||||
{ char ascii [17], *data ;
|
||||
psf_hexdump (const void *ptr, int len)
|
||||
{ const char *data ;
|
||||
char ascii [17] ;
|
||||
int k, m ;
|
||||
|
||||
if ((data = ptr) == NULL)
|
||||
|
@ -587,7 +587,7 @@ void double64_le_write (double in, unsigned char *out) ;
|
||||
void psf_log_printf (SF_PRIVATE *psf, const char *format, ...) ;
|
||||
void psf_log_SF_INFO (SF_PRIVATE *psf) ;
|
||||
|
||||
void psf_hexdump (void *ptr, int len) ;
|
||||
void psf_hexdump (const void *ptr, int len) ;
|
||||
|
||||
/* Functions used when writing file headers. */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user