merge intel warning fix

This commit is contained in:
Kimmy Mu
2020-01-06 12:17:10 -06:00
committed by kmu
parent e75b2e3c2c
commit de28f691ba
43 changed files with 107 additions and 100 deletions

View File

@@ -1179,8 +1179,8 @@ test_compound_6(void)
orig = (unsigned char*)HDmalloc(nelmts * sizeof(struct st));
for (i=0; i<(int)nelmts; i++) {
s_ptr = ((struct st*)((void *)orig)) + i;
s_ptr->b = (i*8+1) & 0x7fff;
s_ptr->d = (i*8+6) & 0x7fff;
s_ptr->b = (int16_t)((i*8+1) & 0x7fff);
s_ptr->d = (int16_t)((i*8+6) & 0x7fff);
}
HDmemcpy(buf, orig, nelmts*sizeof(struct st));