From 18dc06d0969b4a1ae14cd18340c0b929dd5d2f4f Mon Sep 17 00:00:00 2001 From: Peter Haag Date: Wed, 23 Oct 2024 19:33:39 +0200 Subject: [PATCH] Fix nfeplay template identifu ID --- src/nfreplay/send_v9.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nfreplay/send_v9.c b/src/nfreplay/send_v9.c index 33418fc3..2b4f6856 100644 --- a/src/nfreplay/send_v9.c +++ b/src/nfreplay/send_v9.c @@ -177,7 +177,7 @@ static outTemplate_t *GetOutputTemplate(recordHandle_t *recordHandle) { uint64_t elementBits = 0; for (int i = 0; i < MAXEXTENSIONS; i++) { - if (recordHandle->extensionList[i]) elementBits |= 1 << i; + if (recordHandle->extensionList[i]) elementBits |= (uint64_t)1 << i; } outTemplate_t **t = &outTemplates;