Opened 4 years ago

Closed 4 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/ Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: yes Platform: All


Add missing '*' for 'string' at line 268 [1]. [1]

/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 4 years ago.

Download all attachments as: .zip

Change History (3)

comment:1 by mt, 4 years ago

Has a Patch: set

comment:2 by pulkomandy, 4 years ago

Resolution: fixed
Status: newclosed

Fixed in hrev50402.

Note: See TracTickets for help on using tickets.