commit
453c376198
|
@ -43,7 +43,7 @@ static UINT32 TestCase(VOID)
|
|||
|
||||
ioctl(fd, TRACE_STOP, NULL);
|
||||
|
||||
buffer = (char *)malloc(size);
|
||||
buffer = static_cast<char *>(malloc(size));
|
||||
if (buffer == NULL) {
|
||||
printf("Read buffer malloc failed!\n");
|
||||
goto EXIT;
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
#include "unistd.h"
|
||||
#include "search.h"
|
||||
#define MISC_OK 0
|
||||
#define MISC_NOK -1
|
||||
#define MISC_NOK (-1)
|
||||
|
||||
extern VOID ItTestMisc001(VOID);
|
||||
extern VOID ItTestMisc002(VOID);
|
||||
|
|
Loading…
Reference in New Issue