Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
home:lafenghu
btrfsprogs
0135-Btrfs-progs-fix-compiler-warning-of-extent...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0135-Btrfs-progs-fix-compiler-warning-of-extent-tree.c.patch of Package btrfsprogs
From 243a10fc066200621fbdee91eb28a53f5cc91d81 Mon Sep 17 00:00:00 2001 From: Tsutomu Itoh <t-itoh@jp.fujitsu.com> Date: Tue, 1 Nov 2011 12:20:42 +0900 Subject: [PATCH 135/138] Btrfs-progs: fix compiler warning of extent-tree.c In recovery-beta, following compiler warning was displayed. gcc -Wp,-MMD,./.extent-tree.o.d,-MT,extent-tree.o -Wall -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -g -O0 -c extent-tree.c extent-tree.c: In function 'lookup_inline_extent_backref': extent-tree.c:1071: warning: format '%u' expects type 'unsigned int', but argument 3 has type 'long unsigned int' Signed-off-by: Tsutomu Itoh <t-itoh@jp.fujitsu.com> --- extent-tree.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/extent-tree.c b/extent-tree.c index 5bed3c2..5144d57 100644 --- a/extent-tree.c +++ b/extent-tree.c @@ -1068,7 +1068,7 @@ static int lookup_inline_extent_backref(struct btrfs_trans_handle *trans, #endif if (item_size < sizeof(*ei)) { printf("Size is %u, needs to be %u, slot %d\n", item_size, - sizeof(*ei), path->slots[0]); + (u32)sizeof(*ei), path->slots[0]); btrfs_print_leaf(root, leaf); return -EINVAL; } -- 1.7.6.233.gd79bc
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor