X-Git-Url: http://git.osdn.net/view?p=mutilities%2FMUtilities.git;a=blobdiff_plain;f=src%2FGlobal.cpp;h=92d8a3f56a6adb2e0c10b0746bd3ce308930ad58;hp=bf45e59676ea778f3b94a601526d25528e497607;hb=9a898f5d493e8de7ca928d78410685c642cbe804;hpb=afa83d864527cf76a1d0cead36ba70e288bed465 diff --git a/src/Global.cpp b/src/Global.cpp index bf45e59..92d8a3f 100644 --- a/src/Global.cpp +++ b/src/Global.cpp @@ -905,16 +905,14 @@ MUtils::fp_parts_t MUtils::break_fp(const double value) // INITIALIZER /////////////////////////////////////////////////////////////////////////////// -int MUtils::Internal::MUTILS_INITIALIZER(const unsigned int interfaceId, const bool debugFlag, const char *const buildKey) +unsigned int MUtils::Internal::MUTILS_INITIALIZER(const unsigned int interfaceId) { -#if (!MUTILS_DEBUG) - if((interfaceId != static_cast(MUTILS_INTERFACE)) || (debugFlag != static_cast(MUTILS_DEBUG)) || strncmp(buildKey, MUTILS_BUILD_KEY, 14)) + if(interfaceId != ((unsigned int)MUTILS_INTERFACE)) { OS::system_message_err(L"MUtils", L"ERROR: MUtils library initialization has failed!"); for(;;) _exit((int)0xC0000142); } -#endif //MUTILS_DEBUG - volatile int _result = MUTILS_INTERFACE; + volatile unsigned int _result = MUTILS_INTERFACE; return _result; }