X-Git-Url: http://wagner.pp.ru/gitweb/?a=blobdiff_plain;f=CMakeLists.txt;fp=CMakeLists.txt;h=e6337c9e04709309605625169247dd6b77fddfec;hb=ca0646fce4b739c83f2501ec26968919467074d8;hp=112bbec7b7e2c3a1070c713d79143929e2db66e1;hpb=b8ede042a2dcc26c96d0f41b57ef5fd205f55d64;p=openssl-gost%2Fengine.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 112bbec..e6337c9 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)