This commit is contained in:
wentch
2016-01-21 10:02:19 +08:00
parent 58c938571f
commit f96c21e4d0

View File

@@ -404,8 +404,8 @@ public final class SncpClient {
final BsonReader reader = convert.pollBsonReader();
try {
reader.setBytes(this.body);
byte i;
while ((i = reader.readByte()) != 0) {
int i;
while ((i = (reader.readByte() & 0xff)) != 0) {
final Attribute attr = action.paramAttrs[i];
attr.set(params[i - 1], convert.convertFrom(attr.type(), reader));
}