OSDN Git Service

Make compile quiet phase 2
authorKyotaro Horiguchi <horiguchi.kyotaro@lab.ntt.co.jp>
Fri, 10 Apr 2015 06:27:08 +0000 (15:27 +0900)
committerKyotaro Horiguchi <horiguchi.kyotaro@lab.ntt.co.jp>
Fri, 10 Apr 2015 06:27:08 +0000 (15:27 +0900)
commitcb5ac13987ee1aeb3866e79675c0e130d6e71010
treeface16744f2cc022653767541a919aa2b7c8046c
parent1907ca55edf3e5bb2115c9156bbc4d30cdedf442
Make compile quiet phase 2

MacOS X Maverics and later offers only LLVM compiler (clang) and it
warns for implicit type conversions between enums. This program uses
some enum types for a member in the same struct type but they cannot
be merged because one of them is defined in PostgreSQL. The situation
is safe as long as an enumeration and a word table are in one-to-one
correspondence so I decided to change the type of the member to
integer. This change make the commit
78415c006cd24f41d722a41014c526b43731968f useless so it is reverted
along with this commit.

Reported by Fujii Masao.
pgsp_json_int.h
pgsp_json_text.c