summaryrefslogtreecommitdiffstats
path: root/generic/ttk/ttkTheme.c
diff options
context:
space:
mode:
authorjenglish <jenglish@noemail.net>2007-01-11 19:59:25 (GMT)
committerjenglish <jenglish@noemail.net>2007-01-11 19:59:25 (GMT)
commit5b4f2d2d4b8819bfdef9929e5b2d40033bf81fa5 (patch)
tree8277dd861a947f2adb0b4634f031f9c651f7e8d0 /generic/ttk/ttkTheme.c
parenta3aa51f86e406f841cd5808915399cb98337dacd (diff)
downloadtk-5b4f2d2d4b8819bfdef9929e5b2d40033bf81fa5.zip
tk-5b4f2d2d4b8819bfdef9929e5b2d40033bf81fa5.tar.gz
tk-5b4f2d2d4b8819bfdef9929e5b2d40033bf81fa5.tar.bz2
Revert previous change to keep in sync with Tile codebase.
The minor warnings from GCC fixed in the previous revision were false positives due to improper use of "-Wconversion". Still compiles cleanly with "gcc -Wall -Werror" (gcc 3.3.5). FossilOrigin-Name: 038c60a9207d801a57a8e5c3b4594123cca5df0f
Diffstat (limited to 'generic/ttk/ttkTheme.c')
-rw-r--r--generic/ttk/ttkTheme.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/ttk/ttkTheme.c b/generic/ttk/ttkTheme.c
index f1c4e9f..a16ba00 100644
--- a/generic/ttk/ttkTheme.c
+++ b/generic/ttk/ttkTheme.c
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * $Id: ttkTheme.c,v 1.5 2007/01/11 15:35:40 dkf Exp $
+ * $Id: ttkTheme.c,v 1.6 2007/01/11 19:59:26 jenglish Exp $
*/
#include <stdlib.h>
@@ -1015,7 +1015,7 @@ int InitializeElementRecord(
*dest = styleDefault ? styleDefault : elementDefault;
}
- if (!AllocateResource(cache, tkwin, dest, (int) elementOption->type)) {
+ if (!AllocateResource(cache, tkwin, dest, elementOption->type)) {
return 0;
}
}