[tor-bugs] #19682 [Core Tor]: --enable-fatal-warnings + test_util_format.c
Tor Bug Tracker & Wiki
blackhole at torproject.org
Thu Jul 14 22:06:05 UTC 2016
#19682: --enable-fatal-warnings + test_util_format.c
-----------------------------+------------------------------
Reporter: cypherpunks | Owner:
Type: defect | Status: new
Priority: Medium | Milestone:
Component: Core Tor | Version: Tor: unspecified
Severity: Normal | Keywords:
Actual Points: | Parent ID:
Points: | Reviewer:
Sponsor: |
-----------------------------+------------------------------
CC src/test/src_test_test-test_util_format.o
src/test/test_util_format.c:109:13: error: implicit conversion from 'int'
to
'char' changes value from 255 to -1 [-Werror,-Wconstant-conversion]
src[50] = 255;
~ ^~~
src/test/test_util_format.c:110:13: error: implicit conversion from 'int'
to
'char' changes value from 255 to -1 [-Werror,-Wconstant-conversion]
src[51] = 255;
~ ^~~
src/test/test_util_format.c:111:13: error: implicit conversion from 'int'
to
'char' changes value from 255 to -1 [-Werror,-Wconstant-conversion]
src[52] = 255;
~ ^~~
src/test/test_util_format.c:112:13: error: implicit conversion from 'int'
to
'char' changes value from 255 to -1 [-Werror,-Wconstant-conversion]
src[53] = 255;
~ ^~~
4 errors generated.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/19682>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list