Bob Hansen created HDFS-9320: -------------------------------- Summary: libhdfspp should not use sizeof for stream parsing Key: HDFS-9320 URL: https://issues.apache.org/jira/browse/HDFS-9320 Project: Hadoop HDFS Issue Type: Sub-task Reporter: Bob Hansen
In a few places, we're using sizeof(int) and sizeof(short) to determine where in the received buffers we should be looking for data. Those values are compiler- and platform-dependent. We should use specified sizes, or at least sizeof(int32_t). -- This message was sent by Atlassian JIRA (v6.3.4#6332)