Permalink
Browse files

Fix a warning

  • Loading branch information...
1 parent 08425c7 commit aae2a8a72937a083b538a195aa53e0a59d0b73d2 @tabish121 tabish121 committed Oct 21, 2013
Showing with 2 additions and 3 deletions.
  1. +2 −3 activemq-cpp/src/main/activemq/wireformat/stomp/StompFrame.cpp
@@ -37,8 +37,7 @@ using namespace decaf::lang;
using namespace decaf::lang::exceptions;
////////////////////////////////////////////////////////////////////////////////
-StompFrame::StompFrame() :
- command(), properties(), body() {
+StompFrame::StompFrame() : command(), properties(), body() {
}
////////////////////////////////////////////////////////////////////////////////
@@ -296,7 +295,7 @@ void StompFrame::readBody(decaf::io::DataInputStream* in) {
this->body.resize((std::size_t) content_length);
// Read the Content Length now
- in->readFully(&body[0], body.size());
+ in->readFully(&body[0], (int) body.size());
// Content Length read, now pop the end terminator off (\0\n).
if (in->readByte() != '\0') {

0 comments on commit aae2a8a

Please sign in to comment.