From eea29ee34b8d744c3e990a3d47ccc9d4c228a752 Mon Sep 17 00:00:00 2001 From: Stefano Ceccherini Date: Tue, 7 Nov 2006 14:01:32 +0000 Subject: [PATCH] fixed a warning git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19223 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/interface/ScrollBar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kits/interface/ScrollBar.cpp b/src/kits/interface/ScrollBar.cpp index 7ec7248b95..ff1ff88ee7 100644 --- a/src/kits/interface/ScrollBar.cpp +++ b/src/kits/interface/ScrollBar.cpp @@ -244,7 +244,7 @@ BScrollBar::Archive(BMessage *data, bool deep) const err = data->AddInt32("_orient",(int32)fOrientation); if (err != B_OK) return err; - err = data->AddInt32("_prop",fProportion); + err = data->AddInt32("_prop",(int32)fProportion); return err; }