This commit specifies the integer width explicitly to match `result_header_ext` etc.

also, can someone explain to me why `send_status_and_crc` does not need
to set `_pad` to prevent leaking stack memory in the responses?
pull/26/head
Your Name 7 years ago
parent 19cb61a0ed
commit a96fe7203e

@ -35,13 +35,13 @@
#include <sys/types.h> #include <sys/types.h>
struct file_header { struct file_header {
unsigned int namelen; uint32_t namelen;
unsigned int mode; uint32_t mode;
unsigned long long filelen; uint64_t filelen;
unsigned int atime; uint32_t atime;
unsigned int atime_nsec; uint32_t atime_nsec;
unsigned int mtime; uint32_t mtime;
unsigned int mtime_nsec; uint32_t mtime_nsec;
}; };
struct result_header { struct result_header {

Loading…
Cancel
Save