Opened 4 years ago

Closed 4 years ago

#12841 closed bug (fixed)

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

Reported by: mt Owned by: Barrett
Priority: normal Milestone: Unscheduled
Component: Applications/SoundRecorder Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All


Modify if condition at line 1342 [1], since FindString(const char*) returns 'const char*'[2]. [1] [2]

/home/haiku/haiku/haiku/src/apps/soundrecorder/RecorderWindow.cpp:1342:40: error: comparison between pointer and integer ('const char *' and 'int')
                        if (msg->FindString("be:filetypes") == B_OK
                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~~~

Attachments (1)

0031-RecorderWindow.cpp-fix-comparison-between-pointer-an.patch (953 bytes ) - added by mt 4 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 by mt, 4 years ago

patch: 01

comment:2 by Barrett, 4 years ago

Applied in hrev50385.

comment:3 by Barrett, 4 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.