diff options
author | Xavier Roche <xroche@users.noreply.github.com> | 2014-10-16 18:35:16 +0000 |
---|---|---|
committer | Xavier Roche <xroche@users.noreply.github.com> | 2014-10-16 18:35:16 +0000 |
commit | 79c85c15dc22f284d55341ac55cfbdd9ae9a0566 (patch) | |
tree | cfa7dde67fe51c5553004cf03be887e43da0a7dd /src/httrack.c | |
parent | 3eef270c96bb407fde0dbb642206bb4eb63def89 (diff) |
Fixed warnings.
Diffstat (limited to 'src/httrack.c')
-rw-r--r-- | src/httrack.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/httrack.c b/src/httrack.c index f231db7..69fc5db 100644 --- a/src/httrack.c +++ b/src/httrack.c @@ -887,7 +887,9 @@ static void print_backtrace(void) { } #else const char msg[] = "No stack trace available on this OS :(\n"; - write(FD_ERR, msg, sizeof(msg) - 1); + if (write(FD_ERR, msg, sizeof(msg) - 1) != sizeof(msg) - 1) { + /* sorry GCC */ + } #endif } |