Artifacts Associated With Ticket 2997087fffffffffffffffffffffffffffffffff
Ticket change [393866f0a1] (rid 112351) by nijtmans on 2010-05-05 11:52:42:
- assignee initialized to: "nijtmans"
- cmimetype initialized to: "text/plain"
- comment initialized to:
In tclPkg.c I encountered a const char *versionToProvide which should not have been const at all. The reason that the compiler did not complain were type casts to (ClientData). The danger of such type casts is that the casted pointer could be "const", and then the const'ness is cast away silencing the compiler. So, I scanned the code for casts to ClientData. The bug in tclPkg.c is the only bug I found, but many casts to ClientData simply are not necessary at all. Here is a patch which removes all unnecessary type casts to ClientData. - foundin initialized to: "None"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nijtmans"
- subsystem initialized to: "52. Portability Support"
- title initialized to: "Dangerous type casts to ClientData"
- type initialized to: "Patch"
Add attachment "typecast.patch" [0107d81e32] (rid 119411) by nijtmans on 2010-05-05 18:54:19.
Ticket change [4062fe4f12] (rid 121620) by nijtmans on 2010-05-05 18:54:20:
- icomment:
File Added - 372922: typecast.patch
- login: "nijtmans"
- mimetype: "text/plain"
- username: "nijtmans"
- icomment:
Ticket change [81da934503] (rid 137006) by jan.nijtmans on 2014-02-21 19:09:31:
- assignee changed to: "jan.nijtmans"
Ticket change [17c95b5079] (rid 137018) by jan.nijtmans on 2014-02-21 19:12:40:
- submitter changed to: "jan.nijtmans"