diff src/console/Audacious_Driver.cxx @ 752:560292f1ebb3 trunk

[svn] - fix a stupid C++ error
author nenolod
date Wed, 28 Feb 2007 07:32:41 -0800
parents 3c1e835ebd68
children b1128efde471
line wrap: on
line diff
--- a/src/console/Audacious_Driver.cxx	Wed Feb 28 07:29:57 2007 -0800
+++ b/src/console/Audacious_Driver.cxx	Wed Feb 28 07:32:41 2007 -0800
@@ -102,7 +102,7 @@
 	
 	// extract track number
 	gchar* args = strchr( path, '?' ); // TODO: use strrchr()?
-	if ( args && g_ascii_isdigit( args + 1 ) )
+	if ( args && g_ascii_isdigit( (guchar) *(args + 1) ) )
 	{
 		*args = '\0';
 		// TODO: use func with better error reporting, and perhaps don't