[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#8829) Right shift build warning VS2017 mdb.c



robin.rowe@cinepaint.org wrote:
> Full_Name: Robin Rowe
> Version: git
> OS: Windows 10
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (23.242.20.216)
> 
> 
> Warning from VS2017:
> 
> mdb.c(7455): warning C4333: '>>': right shift by too large amount, data loss
> 
> 7455:    SETDSZ(node, nsize);
> 
> 960: #define SETDSZ(node,size)	do { \
> 961:    (node)->mn_lo = (size) & 0xffff; (node)->mn_hi = (size) >> 16;} while(0)
> 
> 
Intentional and irrelevant. Closing this ITS.

-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/