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