diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 00bd09808..34d7242f8 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2013-05-21 Corinna Vinschen + + * fhandler.h (class fhandler_dev_random): Change type of pseudo to + uint32_t to make sure it's 32 bit on all supported platforms. + 2013-05-21 Corinna Vinschen x86_64 only: diff --git a/winsup/cygwin/fhandler.h b/winsup/cygwin/fhandler.h index 86c0fa8e8..e76f67e1f 100644 --- a/winsup/cygwin/fhandler.h +++ b/winsup/cygwin/fhandler.h @@ -1648,7 +1648,7 @@ class fhandler_dev_random: public fhandler_base { protected: HCRYPTPROV crypt_prov; - long pseudo; + uint32_t pseudo; off_t dummy_offset; bool crypt_gen_random (void *ptr, size_t len);