commit | 54f4b7e067dc02573bb063bb875ee4e0cd0b7120 | [log] [tgz] |
---|---|---|
author | Rob Vaterlaus <rob.vaterlaus@bigswitch.com> | Tue Sep 24 13:33:02 2013 -0700 |
committer | Rob Vaterlaus <rob.vaterlaus@bigswitch.com> | Tue Sep 24 13:33:02 2013 -0700 |
tree | 32b18a69569ec0601739486c587c028b3d408ac7 | |
parent | c52f73a1e366869bf29c798d3a5f5b62f7ea8f1e [diff] |
Incorporate review feedback for OFBufferId code
diff --git a/java_gen/pre-written/src/main/java/org/projectfloodlight/openflow/types/OFBufferId.java b/java_gen/pre-written/src/main/java/org/projectfloodlight/openflow/types/OFBufferId.java index 2689f93..99f3e7f 100644 --- a/java_gen/pre-written/src/main/java/org/projectfloodlight/openflow/types/OFBufferId.java +++ b/java_gen/pre-written/src/main/java/org/projectfloodlight/openflow/types/OFBufferId.java
@@ -40,7 +40,7 @@ } public static OFBufferId read4Bytes(ChannelBuffer c) throws OFParseError { - return OFBufferId.of((int)(c.readUnsignedInt() & 0xFFFFFFFF)); + return OFBufferId.of(c.readInt()); } @Override