Sequence patch has problems
I assume these are from the recently-applied sequence patch:
sequence.c: In function `DefineSequence':
sequence.c:99: warning: assignment makes integer from pointer without a cast
sequence.c:100: warning: assignment makes integer from pointer without a cast
sequence.c:101: warning: assignment makes integer from pointer without a cast
sequence.c:102: warning: assignment makes integer from pointer without a cast
sequence.c:103: warning: assignment makes integer from pointer without a cast
sequence.c: In function `init_params':
sequence.c:882: warning: comparison between pointer and integer
sequence.c:883: warning: comparison between pointer and integer
sequence.c:920: warning: comparison between pointer and integer
sequence.c:931: warning: comparison between pointer and integer
sequence.c:943: warning: comparison between pointer and integer
sequence.c:966: warning: comparison between pointer and integer
regards, tom lane
Here is the fix, applied. It was assigning NULL to an int32. Strange
my compiler didn't complain.
---------------------------------------------------------------------------
Tom Lane wrote:
I assume these are from the recently-applied sequence patch:
sequence.c: In function `DefineSequence':
sequence.c:99: warning: assignment makes integer from pointer without a cast
sequence.c:100: warning: assignment makes integer from pointer without a cast
sequence.c:101: warning: assignment makes integer from pointer without a cast
sequence.c:102: warning: assignment makes integer from pointer without a cast
sequence.c:103: warning: assignment makes integer from pointer without a cast
sequence.c: In function `init_params':
sequence.c:882: warning: comparison between pointer and integer
sequence.c:883: warning: comparison between pointer and integer
sequence.c:920: warning: comparison between pointer and integer
sequence.c:931: warning: comparison between pointer and integer
sequence.c:943: warning: comparison between pointer and integer
sequence.c:966: warning: comparison between pointer and integerregards, tom lane
---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073