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; }