Dont just cast *enum_t to *uint32_t
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Thu, 5 Jul 2012 11:13:04 +0000 (21:13 +1000)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Thu, 5 Jul 2012 11:13:04 +0000 (21:13 +1000)
commit442b829a054a0e02f26bc050346f3e4df18c579d
tree9a0b1dccc80c3c09452b388298fbcfbc7953b818
parent67ba2239cbbe37413a1eb0a649d780a2a63a3133
Dont just cast *enum_t to *uint32_t
go via a temporary variable in case these scalars are different size
include/libnfs-zdr.h
lib/libnfs-zdr.c