X-Git-Url: https://wagner.pp.ru/gitweb/?a=blobdiff_plain;f=CMakeLists.txt;h=d6e560698c0436902a774f0c091b8c9295529909;hb=6c7addf78b7fe7c8841d4cda6c9d710e4992c7a6;hp=b7b7938b4b58782855826b004464460ec98ea475;hpb=874d48d88c6b69c7f2f6765b0c9bfae6585ac8e4;p=openssl-gost%2Fengine.git diff --git a/CMakeLists.txt b/CMakeLists.txt index b7b7938..d6e5606 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -69,8 +69,8 @@ endif() check_c_source_runs(" int main(void) { char buf[16] = { 0, 1, 2 }; - int *p = buf + 1; - int *q = buf + 2; + int *p = (int *)(buf + 1); + int *q = (int *)(buf + 2); return (*p == *q); } " RELAXED_ALIGNMENT)