summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin')
-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);