diff options
author | unknown <monty@mysql.com> | 2004-10-22 14:59:59 +0300 |
---|---|---|
committer | unknown <monty@mysql.com> | 2004-10-22 14:59:59 +0300 |
commit | cfcca61a177eecacdc2c525c1ba4fea082b1b1c4 (patch) | |
tree | f19d6eb75b4b32d78eae19b0cf23620817f6de64 /innobase/os | |
parent | ca8be36f3abc78206bab3810789c4253ee461308 (diff) | |
parent | f18efec55a12da2cd51f9d00f0a57e74f2ad78a2 (diff) | |
download | mariadb-git-cfcca61a177eecacdc2c525c1ba4fea082b1b1c4.tar.gz |
Merge mysql.com:/home/my/mysql-4.0 into mysql.com:/home/my/mysql-4.1
innobase/os/os0file.c:
Auto merged
innobase/row/row0ins.c:
Auto merged
innobase/row/row0mysql.c:
Auto merged
Diffstat (limited to 'innobase/os')
-rw-r--r-- | innobase/os/os0file.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/innobase/os/os0file.c b/innobase/os/os0file.c index 3276aaddca2..f2c1a82a995 100644 --- a/innobase/os/os0file.c +++ b/innobase/os/os0file.c @@ -1807,7 +1807,7 @@ os_file_pread( os_file_n_pending_preads++; os_mutex_exit(os_file_count_mutex); - n_bytes = pread(file, buf, n, offs); + n_bytes = pread(file, buf, (ssize_t)n, offs); os_mutex_enter(os_file_count_mutex); os_file_n_pending_preads--; @@ -1832,7 +1832,7 @@ os_file_pread( return(ret); } - ret = read(file, buf, n); + ret = read(file, buf, (ssize_t)n); os_mutex_exit(os_file_seek_mutexes[i]); @@ -1882,7 +1882,7 @@ os_file_pwrite( os_file_n_pending_pwrites++; os_mutex_exit(os_file_count_mutex); - ret = pwrite(file, buf, n, offs); + ret = pwrite(file, buf, (ssize_t)n, offs); os_mutex_enter(os_file_count_mutex); os_file_n_pending_pwrites--; @@ -1917,7 +1917,7 @@ os_file_pwrite( return(ret); } - ret = write(file, buf, n); + ret = write(file, buf, (ssize_t)n); if (srv_unix_file_flush_method != SRV_UNIX_LITTLESYNC && srv_unix_file_flush_method != SRV_UNIX_NOSYNC |