Choosing appropriate types for objects passed around in your code can be very important in some situations. There are a couple of different issues here:
typedef int32_t pvfs_flag_t;
This guarantees that when a pvfs_flag_t variable is declared, it will be a 32 bit integer, regardless of the host architecture.
Guess I need an example here...