From: Vitaly Chikunov Date: Wed, 28 Oct 2020 21:58:56 +0000 (+0300) Subject: CMakeLists.txt: Fix warning on gcc-9 X-Git-Url: http://wagner.pp.ru/gitweb/?a=commitdiff_plain;h=ca0646fce4b739c83f2501ec26968919467074d8;hp=ca0646fce4b739c83f2501ec26968919467074d8;p=openssl-gost%2Fengine.git CMakeLists.txt: Fix warning on gcc-9 /root/rpmbuild/BUILD/openssl-gost-engine-1.1.1/CMakeFiles/CMakeTmp/src.c:4:14: warning: initialization of 'int *' from incompatible pointer type 'char *' [-Wincompatible-pointer-types] 4 | int *p = buf + 1; | ^~~ /root/rpmbuild/BUILD/openssl-gost-engine-1.1.1/CMakeFiles/CMakeTmp/src.c:5:14: warning: initialization of 'int *' from incompatible pointer type 'char *' [-Wincompatible-pointer-types] 5 | int *q = buf + 2; | ^~~ Reported-by: Ilya Shipitsin Fixes: #288 (cherry picked from commit 6c7addf78b7fe7c8841d4cda6c9d710e4992c7a6) ---