summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authornijtmans <nijtmans@noemail.net>2009-12-16 22:00:29 (GMT)
committernijtmans <nijtmans@noemail.net>2009-12-16 22:00:29 (GMT)
commit76d36288753cb09992deb1868e925c4c95d65689 (patch)
tree8230caa2b08bf3c9ea41bd365636a69852c3c8a1 /ChangeLog
parent57ce2908fc87e02e3e8bfe49a903a56b20d6bfbe (diff)
downloadtk-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--ChangeLog14
1 files changed, 10 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index b5da4ac..b8b266d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>