libpulse: introduce PA_BYTES_SNPRINT_MAX and make use of it wherever applicable

This commit is contained in:
Lennart Poettering 2009-09-06 22:33:04 +02:00
parent 812be32783
commit e6a666d8d5
6 changed files with 17 additions and 11 deletions

View file

@ -319,7 +319,7 @@ typedef struct pa_stream pa_stream;
typedef void (*pa_stream_success_cb_t) (pa_stream*s, int success, void *userdata);
/** A generic request callback */
typedef void (*pa_stream_request_cb_t)(pa_stream *p, size_t bytes, void *userdata);
typedef void (*pa_stream_request_cb_t)(pa_stream *p, size_t nbytes, void *userdata);
/** A generic notification callback */
typedef void (*pa_stream_notify_cb_t)(pa_stream *p, void *userdata);