summaryrefslogtreecommitdiff
path: root/googlepatches/google-6-srtp-driver-fix.patch
blob: 7d82e746d37cbe9cdc841b542586f8bca9f0b48d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
diff --git a/google3/third_party/libsrtp/test/srtp_driver.c b/google3/third_party/libsrtp/test/srtp_driver.c
index 9bd4c66..f6a84f9 100644
--- a/google3/third_party/libsrtp/test/srtp_driver.c
+++ b/google3/third_party/libsrtp/test/srtp_driver.c
@@ -138,7 +138,7 @@ debug_module_t mod_driver = {
 
 int
 main (int argc, char *argv[]) {
-  char q;
+  int q;
   unsigned do_timing_test    = 0;
   unsigned do_rejection_test = 0;
   unsigned do_codec_timing   = 0;
@@ -169,13 +169,13 @@ main (int argc, char *argv[]) {
     if (status) {
     printf("error: load of srtp_driver debug module failed "
            "with error code %d\n", status);
-    exit(1);   
+    exit(1);
   }
 
   /* process input arguments */
   while (1) {
     q = getopt_s(argc, argv, "trcvld:");
-    if (q == -1) 
+    if (q == -1)
       break;
     switch (q) {
     case 't':