Closed
Description
GCC version 10.2.1
The _jsonb_escape
function returns a log, but this is assigned to a jsonbcode
eum value in the calling routines.
It isn't always possible to add a compilation flag to allow this, as the compiler error suggests:
json-build/json-build.h:406:28: error: invalid conversion from 'long int' to 'jsonbcode' [-fpermissive]
406 | ret = _jsonb_escape(&pos, buf + b->pos, bufsize - b->pos, key, len);
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| long int
Metadata
Metadata
Assignees
Labels
No labels