libsrtp icon indicating copy to clipboard operation
libsrtp copied to clipboard

char assumed signed in testsuite drivers

Open fluffy opened this issue 13 years ago • 1 comments

http://sourceforge.net/tracker/?func=detail&aid=1911854&group_id=38894&atid=423799

There is a bug in test/rdbx_driver.c and test/srtp_driver.c which makes the testsuite always fail on architectures where char is unsigned by default. This breaks the Debian builds for all such architectures (arm in my case).

The symptom is that test/rdbx_driver and test/srtp_driver always output their usage message and fail because

main (int argc, char *argv[]) { char q;

/* process input arguments */ while (1) { q = getopt_s(argc, argv, "tv"); if (q == -1) break;

That should be "int q;"

fluffy avatar Mar 28 '13 23:03 fluffy

Looking at the case history in sourceforce, this was fixed on 5/27/2010. Closing for now.

jfigus avatar Oct 08 '14 20:10 jfigus