~ubuntu-branches/ubuntu/vivid/libuv/vivid

« back to all changes in this revision

Viewing changes to test/test-fs.c

  • Committer: Package Import Robot
  • Author(s): Luca Bruno
  • Date: 2013-10-08 16:15:50 UTC
  • mfrom: (2.1.5 experimental)
  • Revision ID: package-import@ubuntu.com-20131008161550-lpe2yex2b71cx1pw
Tags: 0.10.17-1
* Initial upload to unstable
* Add proper fields for multiarch support

Show diffs side-by-side

added added

removed removed

Lines of Context:
1391
1391
#ifdef _WIN32
1392
1392
  ASSERT(((struct stat*)req.ptr)->st_size == strlen(test_dir + 4));
1393
1393
#else
1394
 
  ASSERT(((struct stat*)req.ptr)->st_size == strlen(test_dir));
 
1394
  /* st_size has type off_t. Cast to avoid signed/unsigned warnings. */
 
1395
  ASSERT((size_t) ((struct stat*)req.ptr)->st_size == strlen(test_dir));
1395
1396
#endif
1396
1397
  uv_fs_req_cleanup(&req);
1397
1398