CVSROOT: /cvs Module name: ports Changes by: st...@cvs.openbsd.org 2020/07/31 06:13:28
Modified files: devel/json-c : Makefile Added files: devel/json-c/patches: patch-json_object_c Log message: json-c: cast INT64_MAX to double. from upstream https://github.com/json-c/json-c/commit/d0b87ee87b282e9b91a1af924050e217b0b2ae8b.patch Subject: [PATCH] Add an explicit cast to double to squash a -Wimplicit-int-float-conversion warning. Though we will no longer be comparing exactly against INT64_MAX, this is ok because any value of that magnitude stored in a double will *also* have been rounded up, so the comparison will work appropriately.