Skip to content

Commit

Permalink
Fix handling of large messages (larger than 2GB)
Browse files Browse the repository at this point in the history
There were a few places where size_t should be used but uint32_t was, leading to errors when handling large messages and compiler warnings.
  • Loading branch information
SebDieBln committed Apr 28, 2022
1 parent 328d9d1 commit ed5ba19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/amqpcpp/inbuffer.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ class InBuffer

/**
* Number of bytes already processed
* @var uint32_t
* @var size_t
*/
uint32_t _skip = 0;
size_t _skip = 0;

public:
/**
Expand Down

0 comments on commit ed5ba19

Please sign in to comment.