mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-04 22:58:46 +00:00
ODIN_ENDIAN changed to an enum constant; ODIN_ENUM_STRING is the new string version of the old constant
This commit is contained in:
@@ -1332,7 +1332,7 @@ update :: proc(ctx: ^Haval_Context, data: []byte) {
|
||||
}
|
||||
ctx.count[1] += str_len >> 29
|
||||
|
||||
when ODIN_ENDIAN == "little" {
|
||||
when ODIN_ENDIAN == .Little {
|
||||
if rmd_len + str_len >= 128 {
|
||||
copy(util.slice_to_bytes(ctx.block[:])[rmd_len:], data[:fill_len])
|
||||
block(ctx, ctx.rounds)
|
||||
|
||||
Reference in New Issue
Block a user