[PATCH] blktrace: gcc-4 signed vs unsigned warning
authorJens Axboe <axboe@suse.de>
Thu, 6 Oct 2005 15:29:31 +0000 (17:29 +0200)
committerJens Axboe <axboe@suse.de>
Thu, 6 Oct 2005 15:29:31 +0000 (17:29 +0200)
blktrace.c

index 63b58ba8e0e430c23dc103cdc956462c5432746f..8d78a9bd412d52f6abd1c981721eec6b1dc83969 100644 (file)
@@ -755,7 +755,7 @@ int main(int argc, char *argv[])
                fprintf(stderr,"%s does not appear to be a valid path\n",
                        relay_path);
                return 1;
-       } else if (st.f_type != RELAYFS_TYPE) {
+       } else if (st.f_type != (long) RELAYFS_TYPE) {
                fprintf(stderr,"%s does not appear to be a relay filesystem\n",
                        relay_path);
                return 1;