File tree 3 files changed +5
-5
lines changed
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ static const unsigned int crc32tab[256] = {
90
90
unsigned int
91
91
crc32_sz (char * buf , int size )
92
92
{
93
- unsigned int crc = ~0 ;
93
+ unsigned int crc = ~(( unsigned int ) 0 ) ;
94
94
char * p ;
95
95
int len ,
96
96
nr ;
Original file line number Diff line number Diff line change 1
1
/* Both POSIX and CRC32 checksums */
2
2
3
- /* $PostgreSQL: pgsql/contrib/ltree/crc32.c,v 1.7 2006/09/22 21:39:57 tgl Exp $ */
3
+ /* $PostgreSQL: pgsql/contrib/ltree/crc32.c,v 1.8 2007/07/15 22:40:28 tgl Exp $ */
4
4
5
5
#include <sys/types.h>
6
6
#include <stdio.h>
@@ -99,7 +99,7 @@ static const unsigned int crc32tab[256] = {
99
99
unsigned int
100
100
ltree_crc32_sz (char * buf , int size )
101
101
{
102
- unsigned int crc = ~0 ;
102
+ unsigned int crc = ~(( unsigned int ) 0 ) ;
103
103
char * p ;
104
104
int len ,
105
105
nr ;
Original file line number Diff line number Diff line change 1
1
/* Both POSIX and CRC32 checksums */
2
2
3
- /* $PostgreSQL: pgsql/contrib/tsearch2/crc32.c,v 1.3 2006/03/11 04:38:30 momjian Exp $ */
3
+ /* $PostgreSQL: pgsql/contrib/tsearch2/crc32.c,v 1.4 2007/07/15 22:40:28 tgl Exp $ */
4
4
5
5
#include <sys/types.h>
6
6
#include <stdio.h>
@@ -92,7 +92,7 @@ static const unsigned int crc32tab[256] = {
92
92
unsigned int
93
93
crc32_sz (char * buf , int size )
94
94
{
95
- unsigned int crc = ~0 ;
95
+ unsigned int crc = ~(( unsigned int ) 0 ) ;
96
96
char * p ;
97
97
int len ,
98
98
nr ;
You can’t perform that action at this time.
0 commit comments