From 289bc38ecfd9f6c09f13a2a53d9114034861929a Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Fri, 13 Sep 2002 13:41:23 +0000 Subject: [PATCH] alignment fix merged from HEAD --- source/rpc_parse/parse_spoolss.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/rpc_parse/parse_spoolss.c b/source/rpc_parse/parse_spoolss.c index 2b865c7f3cb..61b6ae92094 100644 --- a/source/rpc_parse/parse_spoolss.c +++ b/source/rpc_parse/parse_spoolss.c @@ -3152,7 +3152,8 @@ uint32 spoolss_size_printer_info_2(PRINTER_INFO_2 *info) * it is easier to maintain the calculation here and * not place the burden on the caller to remember. --jerry */ - size += size % 4; + if ((size % 4) != 0) + size += 4 - (size % 4); return size; } -- 2.11.4.GIT