Fix FreeBSD 10.1 build
This commit is contained in:
committed by
Jon Trulson
parent
bf0666a330
commit
29294e0373
@@ -116,7 +116,7 @@ DtSR_BookcaseSearchEntry::~DtSR_BookcaseSearchEntry()
|
||||
void
|
||||
DtSR_BookcaseSearchEntry::search_zones(UAS_SearchZones& search_zones)
|
||||
{
|
||||
if (! bcases().length() > 0) {
|
||||
if (! (bcases().length() > 0)) {
|
||||
#ifdef DEBUG
|
||||
fprintf(stderr, "search_zones tried on empty BookcaseEntry list\n");
|
||||
#endif
|
||||
|
||||
@@ -50,7 +50,7 @@ StringParser::brute_force(const char* text_in, int n_of_pats,
|
||||
else if (patterns == NULL || *patterns == '\0')
|
||||
return NULL;
|
||||
|
||||
if (! n_of_pats > 0)
|
||||
if (! (n_of_pats > 0))
|
||||
return NULL;
|
||||
|
||||
char** pat_tbl = new char*[n_of_pats + 1];
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
/* $XConsortium: SearchStorage.h /main/3 1996/07/18 16:49:38 drk $ */
|
||||
|
||||
#ifndef SRCH_STOR_HDR
|
||||
#define SCRH_STOR_HDR
|
||||
#define SRCH_STOR_HDR
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user