]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Small fix for compilation on 64-bit platform
authormaintenance team <salome-mnt@opencascade.com>
Tue, 20 May 2008 15:15:46 +0000 (15:15 +0000)
committermaintenance team <salome-mnt@opencascade.com>
Tue, 20 May 2008 15:15:46 +0000 (15:15 +0000)
src/SUIT/SUIT_ViewWindow.cxx

index adf5747b79d4ea548bce12474e77d121abd1d619..1496e9e5d292aa8df9ba12c1aa59f38e99a74830 100755 (executable)
@@ -221,5 +221,5 @@ void SUIT_ViewWindow::setVisualParameters( const QString& parameters )
 */
 int SUIT_ViewWindow::getId() const
 {
-  return (int)this;
+  return int(long(this));
 }