~dr3mro/evdev/volume_fix

Viewing all changes in revision 457.

  • Committer: Peter Hutterer
  • Author(s): Rami Ylimäki
  • Date: 2011-03-09 05:28:10 UTC
  • Revision ID: git-v1:41111ce1efc6181b8da042c5b01f01cdf92315be
Remove constness of device filename to avoid warning when freed.

A warning from free() can be avoided by casting the constness away
from its argument pointer or by not declaring the pointer as const in
the first place.

Signed-off-by: Rami Ylimäki <rami.ylimaki@vincit.fi>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: