From 1e461f6cc82cb8c30027b120a8b07693fb32edfd Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Wed, 20 Jul 2022 17:46:43 -0700 Subject: libs/din: pass seed to din_new() also update call sites in modules/{meta2d,swab} accordingly --- src/modules/swab/swab.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/swab') diff --git a/src/modules/swab/swab.c b/src/modules/swab/swab.c index 5424bf6..9047f68 100644 --- a/src/modules/swab/swab.c +++ b/src/modules/swab/swab.c @@ -74,7 +74,7 @@ static til_module_context_t * swab_create_context(unsigned seed, unsigned ticks, if (!ctxt) return NULL; - ctxt->din = din_new(12, 12, 100); + ctxt->din = din_new(12, 12, 100, seed); if (!ctxt->din) { free(ctxt); return NULL; -- cgit v1.2.3