X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=src%2Ffile-archive.cpp;h=ffaac4285265080c377e30cf654db6477f8601c5;hb=1a76862e831371dd0a7eb74b460c93b5932165c1;hp=1527520bf850e0484979c97735d00a16b5d796f9;hpb=41a6ad96e81a8d8153c54877c4c12f61100677a9;p=guile-irrlicht.git diff --git a/src/file-archive.cpp b/src/file-archive.cpp index 1527520..ffaac42 100644 --- a/src/file-archive.cpp +++ b/src/file-archive.cpp @@ -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;