Opened 3 years ago

Closed 3 years ago

#12842 closed bug (fixed)

[Patch] TrackerString.cpp: fix comparison between pointer and integer

Reported by: mt Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: Kits/libtracker.so Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: yes Platform: All

Description

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') {
                                                               ~~~~~~ ^  ~~~~

Attachments (1)

0032-TrackerString.cpp-fix-comparison-between-pointer-and.patch (941 bytes ) - added by mt 3 years ago.

Download all attachments as: .zip

Change History (3)

comment:1 by mt, 3 years ago

Has a Patch: set

comment:2 by pulkomandy, 3 years ago

Resolution: fixed
Status: newclosed

Fixed in hrev50402.

Note: See TracTickets for help on using tickets.