diff --git a/core/plug-in/uac_auth/UACAuth.cpp b/core/plug-in/uac_auth/UACAuth.cpp index 3e56d621..6ebbd4c9 100644 --- a/core/plug-in/uac_auth/UACAuth.cpp +++ b/core/plug-in/uac_auth/UACAuth.cpp @@ -606,7 +606,7 @@ string UACAuth::calcNonce() { HASH RespHash; time_t now = time(NULL); - result = int2hex(now); + result = int2hex(static_cast(now)); MD5Init(&Md5Ctx); w_MD5Update(&Md5Ctx, result);