From: Magnus Hagander Date: Thu, 10 Apr 2008 15:20:52 +0000 (+0000) Subject: Make parameters in implementation have same const:ness as the ones in X-Git-Tag: recoveryinfrav9~1234 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=f9292f2ed1ae377a705be1a5a129778194dfbc92;p=users%2Fsimon%2Fpostgres.git Make parameters in implementation have same const:ness as the ones in the prototype. Silences msvc build warning. --- diff --git a/src/interfaces/libpq/fe-lobj.c b/src/interfaces/libpq/fe-lobj.c index 5609cf03e2..edcd7c1b2f 100644 --- a/src/interfaces/libpq/fe-lobj.c +++ b/src/interfaces/libpq/fe-lobj.c @@ -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,