1
0
mirror of https://github.com/postgres/postgres.git synced 2025-04-21 12:05:57 +03:00

Make parameters in implementation have same const:ness as the ones in

the prototype. Silences msvc build warning.
This commit is contained in:
Magnus Hagander 2008-04-10 15:20:52 +00:00
parent e863951a59
commit a57a1e61a1

View File

@ -8,7 +8,7 @@
* *
* *
* IDENTIFICATION * 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 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 fd;
int nbytes, int nbytes,