From edd0bb702853504b58ec0fcd8a228c4407c12722 Mon Sep 17 00:00:00 2001 From: Emiel Bruijntjes Date: Mon, 25 Apr 2022 11:15:31 +0200 Subject: [PATCH] allow bigger bodies than fit in a uint32_t --- include/amqpcpp/outbuffer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/amqpcpp/outbuffer.h b/include/amqpcpp/outbuffer.h index f2e7863..7463ebd 100644 --- a/include/amqpcpp/outbuffer.h +++ b/include/amqpcpp/outbuffer.h @@ -50,7 +50,7 @@ public: * @param string char* to the string * @param size size of string */ - void add(const char *string, uint32_t size) + void add(const char *string, size_t size) { // append data append(string, size);