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>
struct file_header {
unsigned int namelen;
unsigned int mode;
unsigned long long filelen;
unsigned int atime;
unsigned int atime_nsec;
unsigned int mtime;
unsigned int mtime_nsec;
uint32_t namelen;
uint32_t mode;
uint64_t filelen;
uint32_t atime;
uint32_t atime_nsec;
uint32_t mtime;
uint32_t mtime_nsec;
};
struct result_header {

Loading…
Cancel
Save