From 51d5903898f72f0df2909d6bad426515c6361a5a Mon Sep 17 00:00:00 2001 From: rathnor Date: Sun, 6 Jul 2003 07:09:53 +0000 Subject: fix build issue --- src/Slit.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Slit.cc b/src/Slit.cc index 4e391bb..faa8b3f 100644 --- a/src/Slit.cc +++ b/src/Slit.cc @@ -22,7 +22,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Slit.cc,v 1.70 2003/07/03 13:01:58 fluxgen Exp $ +// $Id: Slit.cc,v 1.71 2003/07/06 07:09:53 rathnor Exp $ #include "Slit.hh" @@ -1340,5 +1340,5 @@ void Slit::setupMenu() { void Slit::moveToLayer(int layernum) { m_layeritem->moveToLayer(layernum); - m_rc_layernum = static_cast(layernum); + *m_rc_layernum = layernum; } -- cgit v0.11.2