X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=nucleus%2Flibrary%2Fversions%2Fversion_checker.cpp;h=27134c6fc5e677c99ee92492b148d46c99a20506;hb=d7e8a05960951d8ce67e36c587726a851e2f5165;hp=d3c2a235d608630dcb32eda51a59dade8cc865d1;hpb=fa30e6adff1dea5d6b3903279ef024dd3bed043f;p=feisty_meow.git diff --git a/nucleus/library/versions/version_checker.cpp b/nucleus/library/versions/version_checker.cpp index d3c2a235..27134c6f 100644 --- a/nucleus/library/versions/version_checker.cpp +++ b/nucleus/library/versions/version_checker.cpp @@ -113,7 +113,7 @@ void *version_checker::get_handle(const astring &library_file_name) #if defined(_MSC_VER) return GetModuleHandle(to_unicode_temp(library_file_name)); #else - if (library_file_name.t()) return NIL; else return NIL; + if (library_file_name.t()) return NULL_POINTER; else return NULL_POINTER; #endif } @@ -207,7 +207,7 @@ version version_checker::retrieve_version(const astring &filename) #endif - byte_array version_info_found(0, NIL); + byte_array version_info_found(0, NULL_POINTER); if (!retrieve_version_info(filename, version_info_found)) return version(0, 0, 0, 0); @@ -248,7 +248,7 @@ bool version_checker::get_record(const astring &filename, version_record &to_fill) { to_fill = version_record(); - byte_array version_info_found(0, NIL); + byte_array version_info_found(0, NULL_POINTER); if (!retrieve_version_info(filename, version_info_found)) return false;