summaryrefslogtreecommitdiff
path: root/command_line/CmdLine/Src/CLBrowser.c
diff options
context:
space:
mode:
authorAsh Wolf <ninji@wuffs.org>2023-01-11 23:26:04 +0000
committerAsh Wolf <ninji@wuffs.org>2023-01-11 23:26:04 +0000
commit54bb1363a26b6a52cf1a8ecf1f16f76e9920956f (patch)
tree53644f3d0a9b24a10275ba723f6e7e43aee00ec9 /command_line/CmdLine/Src/CLBrowser.c
parent0bec4f557a96e1a40437cf5af20cc78a5eec8a63 (diff)
downloadMWCC-54bb1363a26b6a52cf1a8ecf1f16f76e9920956f.tar.gz
MWCC-54bb1363a26b6a52cf1a8ecf1f16f76e9920956f.zip
get it to compile with clang
Diffstat (limited to 'command_line/CmdLine/Src/CLBrowser.c')
-rw-r--r--command_line/CmdLine/Src/CLBrowser.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/command_line/CmdLine/Src/CLBrowser.c b/command_line/CmdLine/Src/CLBrowser.c
index 826d395..2679e52 100644
--- a/command_line/CmdLine/Src/CLBrowser.c
+++ b/command_line/CmdLine/Src/CLBrowser.c
@@ -75,9 +75,8 @@ int Browser_SearchFile(OSHandle *browsetable, const char *fullpath, SInt16 *ID)
SInt32 size;
Boolean found = 0;
-#line 114
- OPTION_ASSERT(OS_IsFullPath(fullpath));
- OPTION_ASSERT(browsetable!=NULL);
+ OS_ASSERT(114, OS_IsFullPath(fullpath));
+ OS_ASSERT(115, browsetable!=NULL);
GetBrowseTableInfoAndLock(browsetable, &scan, &cnt, &size);
for (idx = 0; idx < cnt; idx++) {
@@ -167,9 +166,8 @@ int Browser_PackBrowseFile(Handle browsedata, OSHandle *browsetable, OSHandle *b
int err;
void *bptr;
-#line 253
- OPTION_ASSERT(browsedata!=NULL);
- OPTION_ASSERT(browsetable!=NULL);
+ OS_ASSERT(253, browsedata!=NULL);
+ OS_ASSERT(254, browsetable!=NULL);
datasize = GetHandleSize(browsedata);
tableoffs = (datasize + sizeof(header) + 7) & ~7;