summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJoshua Haberman <joshua@reverberate.org>2009-08-30 20:26:15 -0700
committerJoshua Haberman <joshua@reverberate.org>2009-08-30 20:26:15 -0700
commita022e6ebdba0cf5e08d101af235b7e6eaebee34e (patch)
treeed48b20bc61897ad5440b228bd63d80ea9ab0c4c /src
parent00ba0d1ac17be08879675e5c1c61ea73e331f9ea (diff)
Fixes for more discerning compilers.
Diffstat (limited to 'src')
-rw-r--r--src/upb_string.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/upb_string.h b/src/upb_string.h
index aa62575..505ac5b 100644
--- a/src/upb_string.h
+++ b/src/upb_string.h
@@ -96,7 +96,7 @@ INLINE struct upb_string *upb_strdup(struct upb_string *s) {
return copy;
}
-INLINE struct upb_string *upb_strdupc(char *s) {
+INLINE struct upb_string *upb_strdupc(const char *s) {
struct upb_string *copy = upb_string_new();
copy->byte_len = strlen(s);
upb_string_resize(copy, copy->byte_len);
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback