From cc4a1b830d1cc221b64747cbe1e3964082904333 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Tue, 21 May 2013 18:51:36 +0000 Subject: [PATCH] * fhandler.h (class fhandler_dev_random): Change type of pseudo to uint32_t to make sure it's 32 bit on all supported platforms. --- winsup/cygwin/ChangeLog | 5 +++++ winsup/cygwin/fhandler.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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); -- 2.43.5