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 5609cf03e26607f6b8eacb432bdc2edc58d5f636..edcd7c1b2ff98db6cc338548e46e6b9ddb8a35a5 100644 (file)
@@ -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,