From 84f64202990329b1122baaa03db335ac73fa7665 Mon Sep 17 00:00:00 2001 From: epg <> Date: Wed, 5 Dec 2007 09:23:19 +0000 Subject: [PATCH] (flac_pictures): Fix compile warnings about description signedness. --- flac.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/flac.c b/flac.c index f539d11..ed507ac 100644 --- a/flac.c +++ b/flac.c @@ -53,9 +53,10 @@ flac_pictures(char *fn) continue; } - description = PyUnicode_DecodeUTF8(block->data.picture.description, - strlen(block->data.picture.description), - "strict"); + description = PyUnicode_DecodeUTF8( + (const char *)block->data.picture.description, + strlen((const char *)block->data.picture.description), + "strict"); if (description == NULL) { return NULL; } -- 2.56.0