#12842: [Patch] TrackerString.cpp: fix comparison between pointer and integer
--------------------------------+------------------------------
Reporter: mt | Owner: nobody
Type: bug | Status: new
Priority: normal | Milestone: Unscheduled
Component: Kits/libtracker.so | Version: R1/Development
Keywords: | Blocked By:
Blocking: | Has a Patch: 0
Platform: All |
--------------------------------+------------------------------
Add missing '*' for 'string' at line 268 [1].
[1] http://cgit.haiku-
os.org/haiku/tree/src/kits/tracker/TrackerString.cpp#n268
{{{
/home/haiku/haiku/haiku/src/kits/tracker/TrackerString.cpp:268:36: error:
comparison between pointer and integer ('const char *' and 'int')
if (*pattern == '?' && string !=
'\0') {
~~~~~~ ^
~~~~
}}}
--
Ticket URL: <https://dev.haiku-os.org/ticket/12842>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.