From 4cc6d0d28705e79f705b65df8928aad75305b01c Mon Sep 17 00:00:00 2001 From: Andrei Solodovnikov Date: Mon, 11 Dec 2023 16:00:53 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9B=D0=A013.=20=D0=98=D1=81=D0=BF=D1=80?= =?UTF-8?q?=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD=D0=B8=D0=B5=20CAST=20=D0=B4?= =?UTF-8?q?=D0=BB=D1=8F=20=D0=A1=D0=B8=20=D0=B2=20platform.h?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Labs/13. Programming/platform.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Labs/13. Programming/platform.h b/Labs/13. Programming/platform.h index d720add..8df5d71 100644 --- a/Labs/13. Programming/platform.h +++ b/Labs/13. Programming/platform.h @@ -3,8 +3,8 @@ #ifdef __cplusplus #define CAST(type, addr) reinterpret_cast(addr) -#elif -#define CAST(addr) (type) (addr) +#else +#define CAST(type, addr) (type) (addr) #endif struct SW_HANDLE