From: ben Date: Sat, 29 Mar 2003 23:57:55 +0000 (+0000) Subject: The entropy pool is full of unsigned ints, not longs. X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/commitdiff_plain/2d3f7d3831ef932d70baf8613a741d970f7539b8?hp=347732736a7c51fb7ebcab24122de84882e9665f The entropy pool is full of unsigned ints, not longs. git-svn-id: svn://svn.tartarus.org/sgt/putty@3025 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/mac/macpgkey.c b/mac/macpgkey.c index 49809fcf..a81695fd 100644 --- a/mac/macpgkey.c +++ b/mac/macpgkey.c @@ -1,4 +1,4 @@ -/* $Id: macpgkey.c,v 1.4 2003/03/29 23:07:55 ben Exp $ */ +/* $Id: macpgkey.c,v 1.5 2003/03/29 23:57:55 ben Exp $ */ /* * Copyright (c) 2003 Ben Harris * Copyright (c) 1997-2003 Simon Tatham @@ -123,7 +123,7 @@ static void mac_clickkey(WindowPtr window, EventRecord *event) switch (item) { case wiKeyGenerate: SetControlMaximum(ks->progress, 1024); - ks->entropy = snewn(1024, long); + ks->entropy = snewn(1024, unsigned int); ks->entropy_required = 1024; ks->entropy_got = 0; ks->collecting_entropy = TRUE;