From badd834b595eedfe5f62b521a658d2df53c1cffa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Mon, 6 Jan 2025 20:12:28 +0100 Subject: [PATCH] Fixed float/double values parsing --- src/data.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/data.cpp b/src/data.cpp index 99df4b0..e23c202 100644 --- a/src/data.cpp +++ b/src/data.cpp @@ -65,6 +65,7 @@ static bool dbl(CTX &ctx, double &val) return false; memcpy(&val, ctx.bp, sizeof(val)); + ctx.bp += sizeof(val); return true; } @@ -77,6 +78,7 @@ static bool flt(CTX &ctx, float &val) return false; memcpy(&val, ctx.bp, sizeof(val)); + ctx.bp += sizeof(val); return true; }