mirror of
https://github.com/aaru-dps/fstester.git
synced 2025-12-16 19:24:39 +00:00
Change how Mac OS times are declared.
This commit is contained in:
@@ -84,7 +84,7 @@ void Timestamps(const char* path)
|
||||
for(i = 0; i < KNOWN_MAC_TIMES; i++)
|
||||
{
|
||||
memset(str255, 0, 256);
|
||||
memcpy(str255, mac_times[i].filename, strlen(mac_times[i].filename));
|
||||
memcpy(str255, mac_times[i].filename, strlen((const char*)mac_times[i].filename));
|
||||
|
||||
rc = HCreate(refNum, dirId, str255, ostUnknown, ftGenericDocumentPC);
|
||||
|
||||
|
||||
@@ -39,12 +39,12 @@ Copyright (C) 2011-2021 Natalia Portillo
|
||||
|
||||
typedef struct
|
||||
{
|
||||
char* filename;
|
||||
LONGINT creation;
|
||||
LONGINT modification;
|
||||
LONGINT backup;
|
||||
char type[13];
|
||||
char message[20];
|
||||
unsigned char* filename;
|
||||
uint32_t creation;
|
||||
uint32_t modification;
|
||||
uint32_t backup;
|
||||
char type[13];
|
||||
char message[20];
|
||||
} mac_time_tests_t;
|
||||
|
||||
#define KNOWN_MAC_TIMES 17
|
||||
|
||||
Reference in New Issue
Block a user