[polypaudio-commits] r644 - /trunk/src/modules/module-tunnel.c

svnmailer-noreply at 0pointer.de svnmailer-noreply at 0pointer.de
Thu Apr 6 16:28:56 PDT 2006


Author: lennart
Date: Fri Apr  7 01:28:56 2006
New Revision: 644

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=644&root=polypaudio&view=rev
Log:
s/index/idx/, to avoid gcc warning

Modified:
    trunk/src/modules/module-tunnel.c

Modified: trunk/src/modules/module-tunnel.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/modules/module-tunnel.c?rev=644&root=polypaudio&r1=643&r2=644&view=diff
==============================================================================
--- trunk/src/modules/module-tunnel.c (original)
+++ trunk/src/modules/module-tunnel.c Fri Apr  7 01:28:56 2006
@@ -365,7 +365,7 @@
 
 static void stream_get_info_callback(pa_pdispatch *pd, uint32_t command, PA_GCC_UNUSED uint32_t tag, pa_tagstruct *t, void *userdata) {
     struct userdata *u = userdata;
-    uint32_t index, owner_module, monitor_source;
+    uint32_t idx, owner_module, monitor_source;
     pa_usec_t latency;
     const char *name, *description, *monitor_source_name, *driver;
     int mute;
@@ -383,7 +383,7 @@
         return;
     }
 
-    if (pa_tagstruct_getu32(t, &index) < 0 ||
+    if (pa_tagstruct_getu32(t, &idx) < 0 ||
         pa_tagstruct_gets(t, &name) < 0 ||
         pa_tagstruct_gets(t, &description) < 0 ||
         pa_tagstruct_get_sample_spec(t, &sample_spec) < 0 ||




More information about the pulseaudio-commits mailing list