cli: fix broken array access with signed state enums
authorMarc-André Lureau <marcandre.lureau@gmail.com>
Thu, 15 Jan 2009 18:58:04 +0000 (20:58 +0200)
committerMarc-André Lureau <marcandre.lureau@gmail.com>
Mon, 19 Jan 2009 22:16:18 +0000 (00:16 +0200)
commita3762a2f9836b1a5f94eb0c69b24bd1839cb1205
tree9fd680c02d824aef9823861c961e1990bb4c271d
parent6374f8e427269c16afcd9d8a2536eec260d28ef6
cli: fix broken array access with signed state enums

I wish I could have merge sink_to_string and source_to_string, but the
enum values are equal, and we cannot assume they will always be.
src/pulsecore/cli-text.c