From 57e473b61cf373f8d9befb03d359b999eca4262b Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 4 Sep 2004 00:27:36 +0000 Subject: add support for automatic termination of the daemon after the last client quit remove all gcc warnings add boolean types for tagstruct and modargs git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@178 fefdeb5f-60dc-0310-8127-8f9354f1896f --- polyp/module-native-protocol-fd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'polyp/module-native-protocol-fd.c') diff --git a/polyp/module-native-protocol-fd.c b/polyp/module-native-protocol-fd.c index 58d09ffe..213e291e 100644 --- a/polyp/module-native-protocol-fd.c +++ b/polyp/module-native-protocol-fd.c @@ -50,7 +50,7 @@ int pa_module_init(struct pa_core *c, struct pa_module*m) { goto finish; } - if (pa_modargs_get_value_u32(ma, "fd", &fd) < 0) { + if (pa_modargs_get_value_s32(ma, "fd", &fd) < 0) { fprintf(stderr, __FILE__": invalid file descriptor.\n"); goto finish; } -- cgit