~ecryptfs/ecryptfs/trunk

« back to all changes in this revision

Viewing changes to tests/kernel/trunc-file/test.c

  • Committer: Dustin Kirkland
  • Date: 2013-03-13 18:17:04 UTC
  • mfrom: (774.1.2 ecryptfs)
  • Revision ID: dustin.kirkland@gmail.com-20130313181704-0ghx53i72rztnwp3
* src/libecryptfs/ecryptfs-stat.c, tests/kernel/extend-file-
  random/test.c, tests/kernel/inode-race-stat/test.c,
  tests/kernel/trunc-file/test.c:
  - Fixed some 32 bit build warnings

Show diffs side-by-side

added added

removed removed

Lines of Context:
272
272
 
273
273
        len *= 1024;
274
274
        if (len > SSIZE_MAX) {
275
 
                fprintf(stderr, "size should be < %zd\n", SSIZE_MAX / 1024);
 
275
                fprintf(stderr, "size should be < %zd\n", (ssize_t)SSIZE_MAX / 1024);
276
276
                exit(TEST_ERROR);
277
277
        }
278
278