diff options
author | Ash Wolf <ninji@wuffs.org> | 2023-01-11 23:26:04 +0000 |
---|---|---|
committer | Ash Wolf <ninji@wuffs.org> | 2023-01-11 23:26:04 +0000 |
commit | 54bb1363a26b6a52cf1a8ecf1f16f76e9920956f (patch) | |
tree | 53644f3d0a9b24a10275ba723f6e7e43aee00ec9 /command_line/CmdLine/Src/OSLib/MacSpecs.c | |
parent | 0bec4f557a96e1a40437cf5af20cc78a5eec8a63 (diff) | |
download | MWCC-54bb1363a26b6a52cf1a8ecf1f16f76e9920956f.tar.gz MWCC-54bb1363a26b6a52cf1a8ecf1f16f76e9920956f.zip |
get it to compile with clang
Diffstat (limited to 'command_line/CmdLine/Src/OSLib/MacSpecs.c')
-rw-r--r-- | command_line/CmdLine/Src/OSLib/MacSpecs.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/command_line/CmdLine/Src/OSLib/MacSpecs.c b/command_line/CmdLine/Src/OSLib/MacSpecs.c index ece3d96..6d11620 100644 --- a/command_line/CmdLine/Src/OSLib/MacSpecs.c +++ b/command_line/CmdLine/Src/OSLib/MacSpecs.c @@ -94,8 +94,7 @@ static DirNode *FindDirMapEntry(unsigned int dirID) { row = dirID >> 8; col = dirID & 0xFF; -#line 166 - OPTION_ASSERT(dirID != 2); + OS_ASSERT(166, dirID != 2); if (row >= dirMapRows) return 0; @@ -167,8 +166,7 @@ static int FindOrAdd(const OSPathSpec *path, unsigned int *vRefNum, unsigned int *vRefNum = vol->vRefNum; level = &vol->root; ptr = &pb[1]; -#line 267 - OPTION_ASSERT(*pb == OS_PATHSEP); + OS_ASSERT(267, *pb == OS_PATHSEP); while (*ptr) { st = ptr; |