]> git.jsancho.org Git - guile-irrlicht.git/blobdiff - src/file-archive.cpp
fix char related code
[guile-irrlicht.git] / src / file-archive.cpp
index 1527520bf850e0484979c97735d00a16b5d796f9..ffaac4285265080c377e30cf654db6477f8601c5 100644 (file)
@@ -28,7 +28,7 @@ using namespace irr;
 io::E_FILE_ARCHIVE_TYPE
 scm_to_file_archive_type (SCM file_archive_type)
 {
-  char* type = scm_to_utf8_stringn (scm_symbol_to_string (file_archive_type), NULL);
+  char* type = scm_to_utf8_string (scm_symbol_to_string (file_archive_type));
   if (!strcmp (type, "zip"))
     {
       return io::EFAT_ZIP;