diff --git a/internal/cgen/base/floatconv-submodule-code.c b/internal/cgen/base/floatconv-submodule-code.c index 663914d0..675c25c2 100644 --- a/internal/cgen/base/floatconv-submodule-code.c +++ b/internal/cgen/base/floatconv-submodule-code.c @@ -1336,7 +1336,7 @@ wuffs_private_impl__high_prec_dec__to_f64(wuffs_private_impl__high_prec_dec* h, shift = (n < num_powers) // The +1 is per "when targeting h->decimal_point being +0 or // +1... when left shifting" in the powers comment above. - ? (powers[n] + 1) + ? (powers[n] + 1u) : WUFFS_PRIVATE_IMPL__HPD__SHIFT__MAX_INCL; wuffs_private_impl__high_prec_dec__small_lshift(h, shift); diff --git a/release/c/wuffs-unsupported-snapshot.c b/release/c/wuffs-unsupported-snapshot.c index fefa4927..283b0db6 100644 --- a/release/c/wuffs-unsupported-snapshot.c +++ b/release/c/wuffs-unsupported-snapshot.c @@ -18774,7 +18774,7 @@ wuffs_private_impl__high_prec_dec__to_f64(wuffs_private_impl__high_prec_dec* h, shift = (n < num_powers) // The +1 is per "when targeting h->decimal_point being +0 or // +1... when left shifting" in the powers comment above. - ? (powers[n] + 1) + ? (powers[n] + 1u) : WUFFS_PRIVATE_IMPL__HPD__SHIFT__MAX_INCL; wuffs_private_impl__high_prec_dec__small_lshift(h, shift);