Make parameters in implementation have same const:ness as the ones in
authorMagnus Hagander <magnus@hagander.net>
Thu, 10 Apr 2008 15:20:52 +0000 (15:20 +0000)
committerMagnus Hagander <magnus@hagander.net>
Thu, 10 Apr 2008 15:20:52 +0000 (15:20 +0000)
the prototype. Silences msvc build warning.

src/interfaces/libpq/fe-lobj.c

index 1cf78d57d64cbb95c129504c02c2262fb0d0f43a..7f8f7d7939013145db349dab822b6ca95553a04d 100644 (file)
@@ -8,7 +8,7 @@
  *
  *
  * IDENTIFICATION
- *       $PostgreSQL: pgsql/src/interfaces/libpq/fe-lobj.c,v 1.65 2008/03/19 00:39:33 ishii Exp $
+ *       $PostgreSQL: pgsql/src/interfaces/libpq/fe-lobj.c,v 1.66 2008/04/10 15:20:52 mha Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -505,7 +505,7 @@ lo_import_with_oid(PGconn *conn, const char *filename, Oid lobjId)
 }
 
 static Oid
-lo_import_internal(PGconn *conn, const char *filename, Oid oid)
+lo_import_internal(PGconn *conn, const char *filename, const Oid oid)
 {
        int                     fd;
        int                     nbytes,