Fix 32-bit build error 67/280967/1 accepted/tizen_7.0_unified accepted/tizen_7.0_unified_hotfix tizen_7.0 tizen_7.0_hotfix accepted/tizen/7.0/unified/20221110.062412 accepted/tizen/7.0/unified/hotfix/20221116.105206 accepted/tizen/unified/20220908.124840 tizen_7.0_m2_release
authorcheoleun moon <chleun.moon@samsung.com>
Wed, 7 Sep 2022 07:58:34 +0000 (16:58 +0900)
committercheoleun moon <chleun.moon@samsung.com>
Wed, 7 Sep 2022 07:58:39 +0000 (16:58 +0900)
Change-Id: I34723450da5ec45e8172b49b7c6df14f426c6202

src/NanDbusHandler.cpp
src/NanHal.cpp

index c8a4f3412c8b26423c148add7f94282d884e25e6..6e1f08cb2617b3ebde316e26d1ce4f5378568ecf 100644 (file)
@@ -377,7 +377,7 @@ gboolean NanDbusHandler::openDataPathPskHandler(NanDbusDiscovery *object,
        config->securityConfig.securityType = NAN_SECURITY_TYPE_PASSPHRASE;
        auto len = strlen(psk);
        if (len > NAN_MAX_PASSPHRASE_LEN) {
-               NAN_LOGE("Invalid psk length[%ld]", len);
+               NAN_LOGE("Invalid psk length[%zd]", len);
                return false;
        }
        config->securityConfig.keyLen = len;
index 1f47d1c640aa04c379d017b4a22a29a91e71b764..84ccdb52eb8547b61723015bef7bf0390c319c79 100644 (file)
@@ -1032,7 +1032,7 @@ NanDataPathInitiatorRequest* NanHal::convertDataPathConfigToLegacyRequest(std::s
 
        auto len = strlen(config->serviceName);
        if (len > NAN_MAX_SERVICE_NAME_LEN) {
-               NAN_LOGE("Invalid parameter: ndpInitiatorReq->service_name_len[%ld]", len);
+               NAN_LOGE("Invalid parameter: ndpInitiatorReq->service_name_len[%zd]", len);
                free(ndpInitiatorReq);
                return nullptr;
        }
@@ -1094,7 +1094,7 @@ NanDataPathIndicationResponse* NanHal::convertDataPathConfigToLegacyResponse(std
 
        auto len = strlen(config->serviceName);
        if (len > NAN_MAX_SERVICE_NAME_LEN) {
-               NAN_LOGE("Invalid parameter: ndpIndicationResp->service_name_len[%ld]", len);
+               NAN_LOGE("Invalid parameter: ndpIndicationResp->service_name_len[%zd]", len);
                free(ndpIndicationResp);
                return nullptr;
        }