[beast: 4/18] BSE: fix compiler warnings about switch type
- From: Tim Janik <timj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [beast: 4/18] BSE: fix compiler warnings about switch type
- Date: Mon, 5 Oct 2015 22:49:45 +0000 (UTC)
commit 34da056e8de12466be63b2b9003721edca58a6a8
Author: Tim Janik <timj gnu org>
Date: Thu Sep 24 20:07:11 2015 +0200
BSE: fix compiler warnings about switch type
bse/bseloader-bsewave.cc | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/bse/bseloader-bsewave.cc b/bse/bseloader-bsewave.cc
index e32211d..c0ab4ff 100644
--- a/bse/bseloader-bsewave.cc
+++ b/bse/bseloader-bsewave.cc
@@ -172,7 +172,7 @@ bsewave_load_file_info (void *data,
while (!abort)
{
g_scanner_get_next_token (scanner);
- switch (GslWaveTokenType (scanner->token))
+ switch (int (scanner->token))
{
case BSEWAVE_TOKEN_WAVE:
if (g_scanner_peek_next_token (scanner) == '{')
@@ -256,7 +256,7 @@ bsewave_parse_chunk_dsc (GScanner *scanner,
{
parse_or_return (scanner, '{');
do
- switch (GslWaveTokenType (g_scanner_get_next_token (scanner)))
+ switch (int (g_scanner_get_next_token (scanner)))
{
char *key;
float vfloat;
@@ -420,7 +420,7 @@ bsewave_parse_wave_dsc (GScanner *scanner,
{
parse_or_return (scanner, '{');
do
- switch (GslWaveTokenType (g_scanner_get_next_token (scanner)))
+ switch (int (g_scanner_get_next_token (scanner)))
{
uint i;
int token;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]