mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
dtinfo/freebsd: fix a (int)NULL cast in DtSR_SearchEngine.C
This caused a compilation failure using gcc6 on FBSD 11.1-STABLE.
This commit is contained in:
parent
c1bef9e8d6
commit
0554f2335f
1 changed files with 1 additions and 1 deletions
|
@ -658,7 +658,7 @@ DtSR_SearchEngine::search(UAS_String oql, UAS_SearchScope& scope,
|
|||
for (i = 0; i < books.numItems(); i++) {
|
||||
UAS_Pointer<UAS_Common> bcase(bookcases[index]->bcase());
|
||||
UAS_String bookid = resolve_bookid(bcase, books[i]);
|
||||
if ((char*)bookid == (int)NULL || *(char*)bookid == '\0')
|
||||
if ((char*)bookid == NULL || *(char*)bookid == '\0')
|
||||
continue;
|
||||
|
||||
bookid_dict[bookid] = True;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue