Opened 8 years ago
Closed 8 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 |
Description
Modify if condition at line 1342 [1], since FindString(const char*) returns 'const char*'[2]. [1] http://cgit.haiku-os.org/haiku/tree/src/apps/soundrecorder/RecorderWindow.cpp#n1342 [2] http://cgit.haiku-os.org/haiku/tree/headers/os/app/Message.h#n406
/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)
Change History (4)
by , 8 years ago
Attachment: | 0031-RecorderWindow.cpp-fix-comparison-between-pointer-an.patch added |
---|
comment:1 by , 8 years ago
patch: | 0 → 1 |
---|
comment:2 by , 8 years ago
comment:3 by , 8 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Applied in hrev50385.