Fri Apr 22 21:20:22 PDT 2005
- Previous message: [Slony1-commit] By wieck: LogTrigger should never be called in anything other than a
- Next message: [Slony1-commit] By cbbrowne: Added a section on Locking Issues to help address the
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Log Message:
-----------
Fix GCC-4.0 compile warning. Cast as unsigned char *.
Modified Files:
--------------
slony1-engine/src/backend:
slony1_funcs.c (r1.30 -> r1.31)
-------------- next part --------------
Index: slony1_funcs.c
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/src/backend/slony1_funcs.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -Lsrc/backend/slony1_funcs.c -Lsrc/backend/slony1_funcs.c -u -w -r1.30 -r1.31
--- src/backend/slony1_funcs.c
+++ src/backend/slony1_funcs.c
@@ -1105,7 +1105,7 @@
*cp2++ = '\'';
while (len-- > 0)
{
- if ((wl = pg_mblen(cp1)) != 1)
+ if ((wl = pg_mblen((unsigned char *)cp1)) != 1)
{
len -= wl;
- Previous message: [Slony1-commit] By wieck: LogTrigger should never be called in anything other than a
- Next message: [Slony1-commit] By cbbrowne: Added a section on Locking Issues to help address the
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list