* LVM2/libdm/mm pool-fast.c
@ 2012-03-01 10:31 zkabelac
0 siblings, 0 replies; only message in thread
From: zkabelac @ 2012-03-01 10:31 UTC (permalink / raw)
To: lvm-devel
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: zkabelac at sourceware.org 2012-03-01 10:31:35
Modified files:
libdm/mm : pool-fast.c
Log message:
Add cast for ptrdiff_t - cleanup gcc warning
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/libdm/mm/pool-fast.c.diff?cvsroot=lvm2&r1=1.17&r2=1.18
--- LVM2/libdm/mm/pool-fast.c 2011/10/23 15:38:03 1.17
+++ LVM2/libdm/mm/pool-fast.c 2012/03/01 10:31:35 1.18
@@ -258,7 +258,7 @@
struct chunk *c;
if (p->spare_chunk &&
- ((p->spare_chunk->end - p->spare_chunk->begin) >= s)) {
+ ((p->spare_chunk->end - p->spare_chunk->begin) >= (ptrdiff_t)s)) {
/* reuse old chunk */
c = p->spare_chunk;
p->spare_chunk = 0;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-03-01 10:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-01 10:31 LVM2/libdm/mm pool-fast.c zkabelac
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.