Compilation warning in bamf-application.c because of implicit cast of try_create_local_desktop_data return value
Bug #1280110 reported by
Michel Lind
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
BAMF |
Fix Released
|
Medium
|
Michel Lind | ||
bamf (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
try_create_
This is wrong on two different counts:
- implicit cast warning, which when warnings are treated as errors cause compilation failure
- if NULL is explicitly cast to gboolean, it yields another error as a pointer has differing size as a gboolean (even though in this case it's all-zero)
The correct fix is to have g_return_
Related branches
lp:~michel-slm/bamf/bugfix1280110
- PS Jenkins bot (community): Approve (continuous-integration)
- Michel Lind (community): Approve
- Stephen M. Webb (community): Approve
-
Diff: 12 lines (+1/-1)1 file modifiedsrc/bamf-application.c (+1/-1)
Changed in bamf: | |
importance: | Undecided → Medium |
assignee: | nobody → Michel Alexandre Salim (michel-slm) |
milestone: | none → 0.5.1 |
To post a comment you must log in.
Fix committed into lp:bamf at revision 592, scheduled for release in bamf, milestone Unknown