mirror of
https://github.com/postgres/postgres.git
synced 2025-08-18 12:22:09 +03:00
Specify lo_write() to take a _const_ buffer, to match documentation.
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/libpq/be-fsstubs.c,v 1.82 2006/04/26 00:34:57 tgl Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/libpq/be-fsstubs.c,v 1.83 2006/09/07 15:37:25 momjian Exp $
|
||||
*
|
||||
* NOTES
|
||||
* This should be moved to a more appropriate place. It is here
|
||||
@@ -165,7 +165,7 @@ lo_read(int fd, char *buf, int len)
|
||||
}
|
||||
|
||||
int
|
||||
lo_write(int fd, char *buf, int len)
|
||||
lo_write(int fd, const char *buf, int len)
|
||||
{
|
||||
int status;
|
||||
|
||||
|
Reference in New Issue
Block a user