Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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)