diff --git a/examples/example_consume.cpp b/examples/example_consume.cpp index c1c0eea..7859639 100644 --- a/examples/example_consume.cpp +++ b/examples/example_consume.cpp @@ -10,7 +10,7 @@ int onCancel(AMQPMessage * message ) { } int onMessage( AMQPMessage * message ) { - uint32_t j = 0; + size_t j = 0; char * data = message->getMessage(&j); if (data) cout << data << endl;