diff --git a/lib/core/ogs-macros.h b/lib/core/ogs-macros.h index 630c7fbc2..bf4ada160 100644 --- a/lib/core/ogs-macros.h +++ b/lib/core/ogs-macros.h @@ -206,7 +206,7 @@ static ogs_inline ogs_uint24_t ogs_htobe24(ogs_uint24_t x) #define OGS_MAX_FILEPATH_LEN 256 #define OGS_MAX_IFNAME_LEN 32 -#define OGS_MAX_SDU_LEN 32768 /* Should Heap */ +#define OGS_MAX_SDU_LEN 32768L /* Should Heap */ #define OGS_HUGE_LEN 8192 /* Can Stack */ #define OGS_MAX_PKT_LEN 2048 diff --git a/lib/sbi/client.c b/lib/sbi/client.c index c6dd59bd7..1b8bf9297 100644 --- a/lib/sbi/client.c +++ b/lib/sbi/client.c @@ -494,8 +494,8 @@ static connection_t *connection_add( /* HTTPS certificate-related settings */ if (client->scheme == OpenAPI_uri_scheme_https) { if (client->insecure_skip_verify) { - curl_easy_setopt(conn->easy, CURLOPT_SSL_VERIFYPEER, 0); - curl_easy_setopt(conn->easy, CURLOPT_SSL_VERIFYHOST, 0); + curl_easy_setopt(conn->easy, CURLOPT_SSL_VERIFYPEER, 0L); + curl_easy_setopt(conn->easy, CURLOPT_SSL_VERIFYHOST, 0L); } else { if (client->cacert) curl_easy_setopt(conn->easy, CURLOPT_CAINFO, client->cacert);