summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authornijtmans <nijtmans>2009-12-16 22:00:30 (GMT)
committernijtmans <nijtmans>2009-12-16 22:00:30 (GMT)
commit5a94ed5e36c396971c0dc7a1c193c734c799233c (patch)
tree8230caa2b08bf3c9ea41bd365636a69852c3c8a1 /ChangeLog
parent4e49c034fea39f59a67ca7461b12f3d936aa5f95 (diff)
downloadtk-5a94ed5e36c396971c0dc7a1c193c734c799233c.zip
tk-5a94ed5e36c396971c0dc7a1c193c734c799233c.tar.gz
tk-5a94ed5e36c396971c0dc7a1c193c734c799233c.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.
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>