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++)
|
for(i = 0; i < KNOWN_MAC_TIMES; i++)
|
||||||
{
|
{
|
||||||
memset(str255, 0, 256);
|
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);
|
rc = HCreate(refNum, dirId, str255, ostUnknown, ftGenericDocumentPC);
|
||||||
|
|
||||||
|
|||||||
@@ -39,12 +39,12 @@ Copyright (C) 2011-2021 Natalia Portillo
|
|||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
char* filename;
|
unsigned char* filename;
|
||||||
LONGINT creation;
|
uint32_t creation;
|
||||||
LONGINT modification;
|
uint32_t modification;
|
||||||
LONGINT backup;
|
uint32_t backup;
|
||||||
char type[13];
|
char type[13];
|
||||||
char message[20];
|
char message[20];
|
||||||
} mac_time_tests_t;
|
} mac_time_tests_t;
|
||||||
|
|
||||||
#define KNOWN_MAC_TIMES 17
|
#define KNOWN_MAC_TIMES 17
|
||||||
|
|||||||
Reference in New Issue
Block a user