diff options
Diffstat (limited to 'protocols/Steam/src/protobuf-c')
| -rw-r--r-- | protocols/Steam/src/protobuf-c/protobuf-c-text.c | 2 | ||||
| -rw-r--r-- | protocols/Steam/src/protobuf-c/protobuf-c-text.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Steam/src/protobuf-c/protobuf-c-text.c b/protocols/Steam/src/protobuf-c/protobuf-c-text.c index 6cbc9b46e7..7c7f82001b 100644 --- a/protocols/Steam/src/protobuf-c/protobuf-c-text.c +++ b/protocols/Steam/src/protobuf-c/protobuf-c-text.c @@ -490,7 +490,7 @@ protobuf_c_text_to_string_internal(ReturnString *rs, /* See .h file for API docs. */ char * -protobuf_c_text_to_string(ProtobufCMessage *m, +protobuf_c_text_to_string(const ProtobufCMessage *m, ProtobufCAllocator *allocator) { ReturnString rs = { 0, 0, 0, NULL }; diff --git a/protocols/Steam/src/protobuf-c/protobuf-c-text.h b/protocols/Steam/src/protobuf-c/protobuf-c-text.h index bb3539737d..d921b21d08 100644 --- a/protocols/Steam/src/protobuf-c/protobuf-c-text.h +++ b/protocols/Steam/src/protobuf-c/protobuf-c-text.h @@ -149,7 +149,7 @@ typedef struct _ProtobufCTextError { * \endcode * Though technically \c free(retval); is probably sufficient. */ -extern char *protobuf_c_text_to_string(ProtobufCMessage *m, +extern char *protobuf_c_text_to_string(const ProtobufCMessage *m, ProtobufCAllocator *allocator); /** Import a text format protobuf from a string into a \c ProtobufCMessage. |
