Remove most compiler warnings.

This commit is contained in:
Sven Michael Klose
2021-12-25 09:57:18 +01:00
parent bdd18d958b
commit 65564a158c
4 changed files with 14 additions and 11 deletions

View File

@@ -6,7 +6,7 @@
static unsigned char* V[256];
static char* V[256];
@@ -17,7 +17,7 @@ static char* Alloc (void)
unsigned char Size = (((unsigned char)rand()) & 0x7F) + 1;
/* Allocate memory */
unsigned char* P = malloc (Size);
char* P = malloc (Size);
/* Set the string to a defined value. We use the size, since this will
** also allow us to retrieve it later.
@@ -33,7 +33,7 @@ static char* Alloc (void)
static void Free (unsigned char* P)
static void Free (char* P)
/* Check a memory block and free it */
{
unsigned char I;