Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(161)

Unified Diff: sysdeps/nacl/read.c

Issue 7785030: Replace #define syscalls cancel machinery. (Closed) Base URL: http://git.chromium.org/native_client/nacl-glibc.git@master
Patch Set: Cosmetic change Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sysdeps/nacl/irt_syscalls.h ('k') | sysdeps/nacl/sysdep.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sysdeps/nacl/read.c
diff --git a/sysdeps/nacl/read.c b/sysdeps/nacl/read.c
index 73906e11f7c69d73fca77ab29954c056aa5b9858..32dd536ae596f7d6ce43adf492c77cb4895ca446 100644
--- a/sysdeps/nacl/read.c
+++ b/sysdeps/nacl/read.c
@@ -8,7 +8,7 @@
ssize_t __libc_read (int fd, void *buf, size_t size)
{
- int nread;
+ size_t nread;
int result = __nacl_irt_read (fd, buf, size, &nread);
if (result != 0) {
errno = -result;
« no previous file with comments | « sysdeps/nacl/irt_syscalls.h ('k') | sysdeps/nacl/sysdep.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698