Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

test: fix signed/unsigned comparison warnings

  • Loading branch information...
commit 436132062038e1b14d20a3869483f8ef0f1ce47c 1 parent 53a2c9a
@bnoordhuis bnoordhuis authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/test-fs.c
View
4 test/test-fs.c
@@ -104,7 +104,7 @@ static char buf[32];
static char test_buf[] = "test-buffer\n";
-void check_permission(const char* filename, int mode) {
+void check_permission(const char* filename, unsigned mode) {
int r;
uv_fs_t req;
struct stat* s;
@@ -1391,7 +1391,7 @@ TEST_IMPL(fs_symlink_dir) {
#ifdef _WIN32
ASSERT(((struct stat*)req.ptr)->st_size == strlen(test_dir + 4));
#else
- ASSERT(((struct stat*)req.ptr)->st_size == strlen(test_dir));
+ ASSERT(((struct stat*)req.ptr)->st_size == (int) strlen(test_dir));
#endif
uv_fs_req_cleanup(&req);
Please sign in to comment.
Something went wrong with that request. Please try again.