summaryrefslogtreecommitdiffstats
path: root/lib/rbcodec/codecs
diff options
context:
space:
mode:
authorMichael Giacomelli <giac2000@hotmail.com>2014-11-28 22:43:56 +0100
committerMichael Giacomelli <giac2000@hotmail.com>2014-11-28 23:04:50 +0100
commitd924c83066759792f8a7622ed8794a97ca98bf4b (patch)
tree176631667c5678ac5d42de508c1493f8816482d4 /lib/rbcodec/codecs
parentaa2c55e1057c0c220a1eb37c99d2c251bfe850ab (diff)
downloadrockbox-d924c83066759792f8a7622ed8794a97ca98bf4b.tar.gz
rockbox-d924c83066759792f8a7622ed8794a97ca98bf4b.tar.bz2
rockbox-d924c83066759792f8a7622ed8794a97ca98bf4b.zip
Fix warning in WMA Pro and remove a c++ comment.
Change-Id: Id9b50c1fdeca4d87f158da717de8958330f027ef
Diffstat (limited to 'lib/rbcodec/codecs')
-rw-r--r--lib/rbcodec/codecs/wmapro.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbcodec/codecs/wmapro.c b/lib/rbcodec/codecs/wmapro.c
index f15f36813d..540140b1e2 100644
--- a/lib/rbcodec/codecs/wmapro.c
+++ b/lib/rbcodec/codecs/wmapro.c
@@ -50,7 +50,7 @@ enum codec_status codec_run(void)
int audiobufsize; /* Payload size */
int packetlength = 0; /* Logical packet size (minus the header size) */
int outlen = 0; /* Number of bytes written to the output buffer */
- int pktcnt = 0; /* Count of the packets played */
+ unsigned int pktcnt = 0; /* Count of the packets played */
uint8_t *data; /* Pointer to decoder input buffer */
int size; /* Size of the input frame to the decoder */
intptr_t param;