File tree 3 files changed +2
-4
lines changed
Filter options
3 files changed +2
-4
lines changed
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ ifdef USE_PGXS
16
16
PG_CONFIG = pg_config
17
17
PGXS := $(shell $(PG_CONFIG ) --pgxs)
18
18
include $(PGXS )
19
+ CC =gcc47
19
20
else
20
21
subdir = contrib/jsquery
21
22
top_builddir = ../..
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ checkScalarEquality(JsQueryItem *jsq, JsonbValue *jb)
101
101
if (jb -> type == jbvBinary )
102
102
return false;
103
103
104
- if (jb -> type != jsq -> type /* see enums */ )
104
+ if (( int ) jb -> type != ( int ) jsq -> type /* see enums */ )
105
105
return false;
106
106
107
107
switch (jsq -> type )
Original file line number Diff line number Diff line change @@ -51,13 +51,10 @@ jsqInit(JsQueryItem *v, JsQuery *js)
51
51
void
52
52
jsqInitByBuffer (JsQueryItem * v , char * base , int32 pos )
53
53
{
54
- int xxx ;
55
-
56
54
v -> base = base ;
57
55
58
56
read_byte (v -> type , base , pos );
59
57
60
- xxx = v -> type ;
61
58
v -> hint = v -> type & JSQ_HINT_MASK ;
62
59
v -> type &= ~JSQ_HINT_MASK ;
63
60
You can’t perform that action at this time.
0 commit comments