summaryrefslogtreecommitdiff
path: root/mk/tools
diff options
context:
space:
mode:
authorrillig <rillig>2007-01-08 08:21:47 +0000
committerrillig <rillig>2007-01-08 08:21:47 +0000
commita201686b5dfbf6d7dd016794be311aed6136c90e (patch)
tree1fa34b0de8227574436e845c7765305e3d5f0855 /mk/tools
parent61f0531e1139df20c50547aea28752232dcd20b4 (diff)
downloadpkgsrc-a201686b5dfbf6d7dd016794be311aed6136c90e.tar.gz
Fixed the "fix" for CVE-2006-4810, since it introduced these compiler
warnings. ===> GCC texindex.c: In function `readline': texindex.c:848: warning: assignment makes pointer from integer without a cast ===> MIPSpro cc-1515 cc: ERROR File = texindex.c, Line = 848 A value of type "long" cannot be assigned to an entity of type "char *". end = buffer - linebuffer->buffer; Well, if the compilers were more intelligent, they could have seen that (buffer == linebuffer->buffer) was an invariant and that the resulting difference was therefore always zero, and zero can be converted into any pointer type. ;)
Diffstat (limited to 'mk/tools')
0 files changed, 0 insertions, 0 deletions