diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2010-02-25 01:43:18 +0000 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2010-02-25 01:43:18 +0000 |
commit | 02a30bfecdd841b4ca48acfc9b5f2df7930e7a69 (patch) | |
tree | 0a86343ad37f77c10ed6cea35b49e5ff2b926163 /RichString.h | |
parent | 5cc89986887de19c8898ce36e3776b3483a72f2d (diff) |
warning fixes
Diffstat (limited to 'RichString.h')
-rw-r--r-- | RichString.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/RichString.h b/RichString.h index 994f504f..7b2de38e 100644 --- a/RichString.h +++ b/RichString.h @@ -53,7 +53,7 @@ typedef struct RichString_ { #ifdef HAVE_LIBNCURSESW -extern void RichString_appendn(RichString* this, int attrs, char* data_c, int len); +extern void RichString_appendn(RichString* this, int attrs, const char* data_c, int len); extern void RichString_setAttrn(RichString *this, int attrs, int start, int finish); @@ -61,7 +61,7 @@ int RichString_findChar(RichString *this, char c, int start); #else -extern void RichString_appendn(RichString* this, int attrs, char* data_c, int len); +extern void RichString_appendn(RichString* this, int attrs, const char* data_c, int len); void RichString_setAttrn(RichString *this, int attrs, int start, int finish); @@ -73,10 +73,10 @@ void RichString_prune(RichString* this); void RichString_setAttr(RichString *this, int attrs); -extern void RichString_append(RichString* this, int attrs, char* data); +extern void RichString_append(RichString* this, int attrs, const char* data); -void RichString_write(RichString* this, int attrs, char* data); +void RichString_write(RichString* this, int attrs, const char* data); -RichString RichString_quickString(int attrs, char* data); +RichString RichString_quickString(int attrs, const char* data); #endif |