mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	64-bit fixes.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@611 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
		
							parent
							
								
									f59bc1ff2b
								
							
						
					
					
						commit
						1bb14c3a1d
					
				
					 4 changed files with 7 additions and 7 deletions
				
			
		| 
						 | 
				
			
			@ -65,7 +65,7 @@ int pa_idxset_string_compare_func(const void *a, const void *b) {
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
unsigned pa_idxset_trivial_hash_func(const void *p) {
 | 
			
		||||
    return (unsigned) p;
 | 
			
		||||
    return (unsigned) (long) p;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
int pa_idxset_trivial_compare_func(const void *a, const void *b) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -476,7 +476,7 @@ static int esd_proto_all_info(struct connection *c, esd_proto_t request, const v
 | 
			
		|||
    uint8_t *response;
 | 
			
		||||
    size_t t, k, s;
 | 
			
		||||
    struct connection *conn;
 | 
			
		||||
    size_t idx = PA_IDXSET_INVALID;
 | 
			
		||||
    uint32_t idx = PA_IDXSET_INVALID;
 | 
			
		||||
    unsigned nsamples;
 | 
			
		||||
    assert(c && data && length == sizeof(int));
 | 
			
		||||
    
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -799,7 +799,7 @@ static void command_delete_stream(PA_GCC_UNUSED pa_pdispatch *pd, uint32_t comma
 | 
			
		|||
static void command_create_record_stream(PA_GCC_UNUSED pa_pdispatch *pd, PA_GCC_UNUSED uint32_t command, uint32_t tag, pa_tagstruct *t, void *userdata) {
 | 
			
		||||
    struct connection *c = userdata;
 | 
			
		||||
    struct record_stream *s;
 | 
			
		||||
    size_t maxlength, fragment_size;
 | 
			
		||||
    uint32_t maxlength, fragment_size;
 | 
			
		||||
    uint32_t source_index;
 | 
			
		||||
    const char *name, *source_name;
 | 
			
		||||
    pa_sample_spec ss;
 | 
			
		||||
| 
						 | 
				
			
			@ -1098,7 +1098,7 @@ static void command_get_record_latency(PA_GCC_UNUSED pa_pdispatch *pd, PA_GCC_UN
 | 
			
		|||
static void command_create_upload_stream(PA_GCC_UNUSED pa_pdispatch *pd, PA_GCC_UNUSED uint32_t command, uint32_t tag, pa_tagstruct *t, void *userdata) {
 | 
			
		||||
    struct connection *c = userdata;
 | 
			
		||||
    struct upload_stream *s;
 | 
			
		||||
    size_t length;
 | 
			
		||||
    uint32_t length;
 | 
			
		||||
    const char *name;
 | 
			
		||||
    pa_sample_spec ss;
 | 
			
		||||
    pa_channel_map map;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue