Fix warnings in test_util_formats.

Storing 255 into a char gives a warning when char is signed.

Fixes bug 19682; bugfix on 0.2.8.1-alpha, where these tests were added.
This commit is contained in:
Nick Mathewson
2016-07-17 13:51:45 -04:00
parent c1bfa65211
commit bec4e41f4b
2 changed files with 7 additions and 4 deletions
+3
View File
@@ -0,0 +1,3 @@
o Minor bugfixes (compilation):
- Fix compilation warning in the unit tests on systems where
char is signed. Fixes bug 19682; bugfix on 0.2.8.1-alpha.