Skip to content

Commit 7d94ac3

Browse files
committed
Found type mismatch in random.c. Please apply this also.
Marko Kreen
1 parent cff2342 commit 7d94ac3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contrib/pgcrypto/random.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2727
* SUCH DAMAGE.
2828
*
29-
* $Id: random.c,v 1.1 2001/09/23 04:12:44 momjian Exp $
29+
* $Id: random.c,v 1.2 2001/09/29 03:12:51 momjian Exp $
3030
*/
3131

3232

@@ -80,7 +80,7 @@ px_get_random_bytes(uint8 *dst, unsigned count)
8080

8181
#ifdef RAND_SILLY
8282

83-
int px_get_random_bytes(char *dst, unsigned count)
83+
int px_get_random_bytes(uint8 *dst, unsigned count)
8484
{
8585
int i;
8686
for (i = 0; i < count; i++) {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy