aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/odr-sourcecompanion.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/odr-sourcecompanion.cpp b/src/odr-sourcecompanion.cpp
index 7e57698..d41873b 100644
--- a/src/odr-sourcecompanion.cpp
+++ b/src/odr-sourcecompanion.cpp
@@ -206,7 +206,7 @@ int main(int argc, char *argv[])
int bitrate = 0;
int channels = 2;
int sample_rate = 48000;
- char ch = 0;
+ int ch = 0;
int index;
while(ch != -1) {
ch = getopt_long(argc, argv, "hlb:c:e:T:k:o:r:p:P:I:", longopts, &index);