diff options
author | nijtmans <nijtmans@noemail.net> | 2009-12-16 22:00:29 (GMT) |
---|---|---|
committer | nijtmans <nijtmans@noemail.net> | 2009-12-16 22:00:29 (GMT) |
commit | 76d36288753cb09992deb1868e925c4c95d65689 (patch) | |
tree | 8230caa2b08bf3c9ea41bd365636a69852c3c8a1 /ChangeLog | |
parent | 57ce2908fc87e02e3e8bfe49a903a56b20d6bfbe (diff) | |
download | tk-76d36288753cb09992deb1868e925c4c95d65689.zip tk-76d36288753cb09992deb1868e925c4c95d65689.tar.gz tk-76d36288753cb09992deb1868e925c4c95d65689.tar.bz2 |
CONSTify return values of TkKeysymToString,
TkFindStateString, TkpGetString, TkpGetChar,
which are all not supposed to be modified by
the caller. In tkUtil.c this gets rid of a
dangerous type cast.
FossilOrigin-Name: 9350f0df9854870c0324e71ec0685efd08dd764e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 14 |
1 files changed, 10 insertions, 4 deletions
@@ -1,11 +1,17 @@ 2009-12-16 Jan Nijtmans <nijtmans@users.sf.net> * generic/tkListbox.c: Fix gcc warning: ignoring return value of ‘strtol’, - declared with attribute warn_unused_result + declared with attribute warn_unused_result. * unix/tkUnixEvent.c: Fix gcc warning: dereferencing pointer ‘xgePtr’ does - break strict-aliasing rules - - + break strict-aliasing rules. + * generic/tkInt.decls: CONSTify return values of TkKeysymToString, + * generic/tkBind.c TkFindStateString, TkpGetString, TkpGetChar, + * generic/tkIntDecls.h which are all not supposed to be modified by + * generic/tkUtil.c the caller. In tkUtil.c this gets rid of a + * carbon/tkMacOSXKeyboard.c dangerous type cast. + * macosx/tkMacOSXKeyboard.c + * unix/tkUnixKey.c + * win/tkWinKey.c 2009-12-15 Don Porter <dgp@users.sourceforge.net> |