From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtpng3.m.smailru.net (smtpng3.m.smailru.net [94.100.177.149]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 92848440F3D for ; Thu, 7 Nov 2019 04:05:03 +0300 (MSK) From: Nikita Pettik Date: Thu, 7 Nov 2019 04:04:46 +0300 Message-Id: <20191107010455.64457-7-korablev@tarantool.org> In-Reply-To: <20191107010455.64457-1-korablev@tarantool.org> References: <20191107010455.64457-1-korablev@tarantool.org> Subject: [Tarantool-patches] [PATCH 06/15] port: increase padding of struct port List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: tarantool-patches@dev.tarantool.org Cc: v.shpilevoy@tarantool.org We are going to extend context of struct port_sql. One already inherits struct port_tuple, which makes it size barely fits into 48 bytes of padding of basic structure (struct port). Hence, let's increase padding a bit to be able to add at least one more member to struct port_sql. --- src/lib/core/port.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/core/port.h b/src/lib/core/port.h index d61342287..bfdfa4656 100644 --- a/src/lib/core/port.h +++ b/src/lib/core/port.h @@ -122,7 +122,7 @@ struct port { * Implementation dependent content. Needed to declare * an abstract port instance on stack. */ - char pad[48]; + char pad[52]; }; /** Is not inlined just to be exported. */ -- 2.15.1