From 3ecb9275874f4f7c12b8b799df0e13ebcfaa0e19 Mon Sep 17 00:00:00 2001 From: Isaac Aronson Date: Tue, 12 Sep 2023 23:18:57 -0500 Subject: [PATCH] Remove last non-SDL types from test --- test/testautomation_blit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/testautomation_blit.c b/test/testautomation_blit.c index a2d2fd0a0..d2e7e23d8 100644 --- a/test/testautomation_blit.c +++ b/test/testautomation_blit.c @@ -24,8 +24,8 @@ #include "testautomation_images.h" /* ====== xoroshiro128+ PRNG engine for deterministic blit input ===== */ -Uint64 rotl(uint64_t x, int k) { return (x << k) | (x >> (-k & 63)); } -Uint64 next(uint64_t state[2]) { +Uint64 rotl(Uint64 x, int k) { return (x << k) | (x >> (-k & 63)); } +Uint64 next(Uint64 state[2]) { Uint64 s0 = state[0], s1 = state[1]; Uint64 result = rotl((s0 + s1) * 9, 29) + s0; state[0] = s0 ^ rotl(s1, 29);