Fix some warnings by casting

for compilers which cannot detect the affectations as ok.
This commit is contained in:
Patrick Pelissier committed 2020-06-21 23:50:49 +02:00
1 parent c520b7d0be
commit 652653af0b
3 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -366,7 +366,7 @@ static inline int sharedi_integer_cref(int *p) { return *p; }
M_CALL_INIT(oplist, s->buffer[i].x); \
atomic_init (&s->buffer[i].cpt, 0U); \
} \
genint_init(s->core, n); \
genint_init(s->core, (unsigned int) n); \
SHAREDI_RESOURCE_CONTRACT(s); \
} \
\