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

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



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)