From 54bb1363a26b6a52cf1a8ecf1f16f76e9920956f Mon Sep 17 00:00:00 2001 From: Ash Wolf Date: Wed, 11 Jan 2023 23:26:04 +0000 Subject: get it to compile with clang --- command_line/CmdLine/Src/CLBrowser.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'command_line/CmdLine/Src/CLBrowser.c') 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; -- cgit v1.2.3