From 7815b5f86e9b4323134de697b5b4b23c083c4603 Mon Sep 17 00:00:00 2001 From: tg Date: Sun, 1 Jul 2007 15:39:22 +0000 Subject: [PATCH] =?UTF-8?q?fix=20struct=20packing=20=E2=80=93=20Microsoft?= =?UTF-8?q?=C2=AE=20C=20warned=20about=202x2=20bytes=20of=20padding=20here?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- eval.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eval.c b/eval.c index 1ec2135..7b8cc6c 100644 --- a/eval.c +++ b/eval.c @@ -2,7 +2,7 @@ #include "sh.h" -__RCSID("$MirOS: src/bin/mksh/eval.c,v 1.29 2007/06/27 23:12:58 tg Exp $"); +__RCSID("$MirOS: src/bin/mksh/eval.c,v 1.30 2007/07/01 15:39:22 tg Exp $"); #ifdef MKSH_SMALL #define MKSH_NOPWNAM @@ -139,8 +139,8 @@ typedef struct SubType { short stype; /* [=+-?%#] action after expanded word */ short base; /* begin position of expanded word */ short f; /* saved value of f (DOPAT, etc) */ - struct tbl *var; /* variable for ${var..} */ short quote; /* saved value of quote (for ${..[%#]..}) */ + struct tbl *var; /* variable for ${var..} */ struct SubType *prev; /* old type */ struct SubType *next; /* poped type (to avoid re-allocating) */ } SubType;