summaryrefslogtreecommitdiff
path: root/components/rtgui/include
diff options
context:
space:
mode:
authorbernard.xiong <[email protected]>2010-05-16 02:33:30 +0000
committerbernard.xiong <[email protected]>2010-05-16 02:33:30 +0000
commit0d5451c28f3f9efae28b235d8c80988ffd58a8c8 (patch)
treecc305fad8554c326820ee55c29543762a47d040a /components/rtgui/include
parent0cea283b5ef37377552455ed98e9cc755b634f2f (diff)
remove compiling warning.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@714 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components/rtgui/include')
-rw-r--r--components/rtgui/include/rtgui/widgets/checkbox.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/rtgui/include/rtgui/widgets/checkbox.h b/components/rtgui/include/rtgui/widgets/checkbox.h
index 9e9c325ab2..65ca03d29c 100644
--- a/components/rtgui/include/rtgui/widgets/checkbox.h
+++ b/components/rtgui/include/rtgui/widgets/checkbox.h
@@ -27,7 +27,7 @@ typedef struct rtgui_checkbox rtgui_checkbox_t;
rtgui_type_t *rtgui_checkbox_type_get(void);
-rtgui_checkbox_t* rtgui_checkbox_create(unsigned char* text, rt_bool_t checked);
+rtgui_checkbox_t* rtgui_checkbox_create(const char* text, rt_bool_t checked);
void rtgui_checkbox_destroy(rtgui_checkbox_t* checkbox);
void rtgui_checkbox_set_checked(rtgui_checkbox_t* checkbox, rt_bool_t checked);