about summary refs log tree commit diff
path: root/db2/os/os_rw.c
diff options
context:
space:
mode:
Diffstat (limited to 'db2/os/os_rw.c')
-rw-r--r--db2/os/os_rw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/db2/os/os_rw.c b/db2/os/os_rw.c
index 38f5b9473a..e0a8163d82 100644
--- a/db2/os/os_rw.c
+++ b/db2/os/os_rw.c
@@ -123,7 +123,7 @@ __os_write(fd, addr, len, nwp)
 {
 	size_t offset;
 	ssize_t nw;
-	u_int8_t *taddr;
+	const u_int8_t *taddr;
 
 	for (taddr = addr,
 	    offset = 0; offset < len; taddr += nw, offset += nw)