Skip to content

Commit

Permalink
screen_savers/Nebula: Fix GCC4 warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
waddlesplash committed Jul 8, 2015
1 parent 0fe33fd commit d3a8921
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/add-ons/screen_savers/nebula/Nebula.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -397,10 +397,9 @@ class SimpleSlider : public BSlider {
fLabel = label;
};

char *UpdateText() const
const char* UpdateText() const
{
sprintf(fText, "%s: %d", fLabel, Value());

return fText;
};

Expand Down

0 comments on commit d3a8921

Please sign in to comment.