Skip to content

Commit d263f76

Browse files
hartworkdavidpolverari
authored andcommitted
src/md5.c: Fix prototype of Transform for GCC 15
Symptom was: > md5.c: In function 'MD5Update': > md5.c:121:7: error: too many arguments to function 'Transform' > 121 | Transform (mdContext->buf, in); > | ^~~~~~~~~ > md5.c:38:13: note: declared here > 38 | static void Transform (); > | ^~~~~~~~~ > md5.c: In function 'MD5Final': > md5.c:151:3: error: too many arguments to function 'Transform' > 151 | Transform (mdContext->buf, in); > | ^~~~~~~~~ > md5.c:38:13: note: declared here > 38 | static void Transform (); > | ^~~~~~~~~
1 parent afc078e commit d263f76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/md5.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
#include "md5.h"
3636

3737
/* forward declaration */
38-
static void Transform ();
38+
static void Transform (UINT4 *buf, UINT4 *in);
3939

4040
static unsigned char PADDING[64] = {
4141
0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

0 commit comments

Comments
 (0)