Opened 8 years ago
Closed 8 years ago
#12843 closed bug (fixed)
[Patch] DecorManager.cpp: fix comparison between pointer and integer
Reported by: | mt | Owned by: | axeld |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | Servers/app_server | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
Modify if condition at line 73 [1], since Decorator::AddTab() returns Decorator::Tab* [2]. [1] http://cgit.haiku-os.org/haiku/tree/src/servers/app/decorator/DecorManager.cpp#n73 [2] http://cgit.haiku-os.org/haiku/tree/src/servers/app/decorator/Decorator.cpp#n110
/home/haiku/haiku/haiku/src/servers/app/decorator/DecorManager.cpp:73:54: error: comparison between pointer and integer ('Decorator::Tab *' and 'int') if (decorator->AddTab(settings, title, look, flags) == false) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~
Attachments (1)
Change History (3)
by , 8 years ago
Attachment: | 0033-DecorManager.cpp-fix-comparison-between-pointer-and-.patch added |
---|
comment:1 by , 8 years ago
patch: | 0 → 1 |
---|
comment:2 by , 8 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Fixed in hrev50402.