summaryrefslogtreecommitdiff
path: root/librabbitmq/amqp.h
diff options
context:
space:
mode:
Diffstat (limited to 'librabbitmq/amqp.h')
-rw-r--r--librabbitmq/amqp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/librabbitmq/amqp.h b/librabbitmq/amqp.h
index 58d042c..7f4593f 100644
--- a/librabbitmq/amqp.h
+++ b/librabbitmq/amqp.h
@@ -506,7 +506,7 @@ extern amqp_rpc_reply_t amqp_get_rpc_reply(amqp_connection_state_t state);
* The returned string resides on the heap; the caller is responsible
* for freeing it.
*/
-extern const char *amqp_error_string(int err);
+extern char *amqp_error_string(int err);
#ifdef __cplusplus
}