summaryrefslogtreecommitdiffstats
path: root/winsup
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2013-05-21 18:51:36 +0000
committerCorinna Vinschen <corinna@vinschen.de>2013-05-21 18:51:36 +0000
commitcc4a1b830d1cc221b64747cbe1e3964082904333 (patch)
tree301f785a93071d65855f3c41b31e83d893097c6a /winsup
parent2cf3d4faaeaf7fa4208a6b4271260e1fec0d33f7 (diff)
downloadcygnal-cc4a1b830d1cc221b64747cbe1e3964082904333.tar.gz
cygnal-cc4a1b830d1cc221b64747cbe1e3964082904333.tar.bz2
cygnal-cc4a1b830d1cc221b64747cbe1e3964082904333.zip
* fhandler.h (class fhandler_dev_random): Change type of pseudo to
uint32_t to make sure it's 32 bit on all supported platforms.
Diffstat (limited to 'winsup')
-rw-r--r--winsup/cygwin/ChangeLog5
-rw-r--r--winsup/cygwin/fhandler.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 00bd09808..34d7242f8 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,5 +1,10 @@
2013-05-21 Corinna Vinschen <corinna@vinschen.de>
+ * 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 <corinna@vinschen.de>
+
x86_64 only:
* gendef (_sigfe_maybe): Drop pushing %r12, use %r10 instead since we
don't call yield anymore.
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);