Fix a cast that discards a const qualifier.

This commit is contained in:
Dag-Erling Smørgrav 2014-12-29 15:23:52 +00:00 committed by des
parent 82f5c5cf77
commit 85defb9929

View file

@ -66,7 +66,7 @@ T_DEC(le, 64)
uint##w##_t enc; \ uint##w##_t enc; \
\ \
cryb_##e##w##enc(&enc, e##w); \ cryb_##e##w##enc(&enc, e##w); \
return (t_compare_x##w(*(uint##w##_t *)s##w, enc)); \ return (t_compare_x##w(*(const uint##w##_t *)s##w, enc)); \
} }
T_ENC(be, 32) T_ENC(be, 32)