--- openal-0.0.8/src/al_config.c.str 2009-04-11 08:10:30.000000000 +0200 +++ openal-0.0.8/src/al_config.c 2009-04-11 08:10:53.000000000 +0200 @@ -1243,14 +1243,14 @@ else if (is_string(foo)) { retval->type = ALRC_STRING; - snprintf( retval->data.str.c_str, ALRC_MAXSTRLEN, &foo[1] ); + snprintf( retval->data.str.c_str, ALRC_MAXSTRLEN, "%s", &foo[1] ); retval->data.str.len = strlen( foo ) - 2; } else { retval->type = ALRC_SYMBOL; - snprintf( retval->data.str.c_str, ALRC_MAXSTRLEN, foo ); + snprintf( retval->data.str.c_str, ALRC_MAXSTRLEN, "%s", foo ); retval->data.str.len = strlen( foo ); }