Commit 155de3c8 authored by Daniele Kruse's avatar Daniele Kruse
Browse files

Fixed comparison signedness

parent 2b586f9b
......@@ -86,10 +86,10 @@ TEST_F(castor_server_TapeMarshalTest, marshalTapeConfigRequestMsgBody) {
ASSERT_EQ(buf + 28, bufPtr);
ASSERT_EQ((size_t)0, bufLen);
ASSERT_EQ((int32_t)1, dstMsgBody.uid);
ASSERT_EQ((int32_t)2, dstMsgBody.gid);
ASSERT_EQ((uint32_t)1, dstMsgBody.uid);
ASSERT_EQ((uint32_t)2, dstMsgBody.gid);
ASSERT_EQ(std::string("HELLO"), dstMsgBody.drive);
ASSERT_EQ((int32_t)4, dstMsgBody.status);
ASSERT_EQ((uint32_t)4, dstMsgBody.status);
}
}
......@@ -134,8 +134,8 @@ TEST_F(castor_server_TapeMarshalTest, marshalTapeStatRequestMsgBody) {
ASSERT_EQ(buf + 20, bufPtr);
ASSERT_EQ((size_t)0, bufLen);
ASSERT_EQ((int32_t)1, dstMsgBody.uid);
ASSERT_EQ((int32_t)2, dstMsgBody.gid);
ASSERT_EQ((uint32_t)1, dstMsgBody.uid);
ASSERT_EQ((uint32_t)2, dstMsgBody.gid);
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment