From 8b74050b8ab55e99d0817c8e7b07ca5cff7f4e52 Mon Sep 17 00:00:00 2001 From: LqdBcnAtWork <102250465+LqdBcnAtWork@users.noreply.github.com> Date: Thu, 27 Jun 2024 12:20:57 -0400 Subject: [PATCH] error C2099: initializer is not a constant (#1208) --- deps/sqlite3/sqlite3.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deps/sqlite3/sqlite3.c b/deps/sqlite3/sqlite3.c index 32da2624..b1a807fb 100644 --- a/deps/sqlite3/sqlite3.c +++ b/deps/sqlite3/sqlite3.c @@ -24887,8 +24887,8 @@ static const struct { /* 1 */ { 6, "minute", 7.7379e+12, 60.0 }, /* 2 */ { 4, "hour", 1.2897e+11, 3600.0 }, /* 3 */ { 3, "day", 5373485.0, 86400.0 }, - /* 4 */ { 5, "month", 176546.0, 30.0*86400.0 }, - /* 5 */ { 4, "year", 14713.0, 365.0*86400.0 }, + /* 4 */ { 5, "month", 176546.0, 2592000.0 }, + /* 5 */ { 4, "year", 14713.0, 31536000.0 }, }; /*