diff --git a/base/inc/RVersion.h b/base/inc/RVersion.h
index 117edd1106c0f98b3c1d9c0575a637a9d463d2ba..d7e8c736806e2dec48bfe07c71289e792c4148e2 100644
--- a/base/inc/RVersion.h
+++ b/base/inc/RVersion.h
@@ -14,10 +14,10 @@
  *
 */
 
-#define ROOT_RELEASE "5.12/00"
-#define ROOT_RELEASE_DATE "Jul 10 2006"
-#define ROOT_RELEASE_TIME "18:49:28"
-#define ROOT_VERSION_CODE 330752
+#define ROOT_RELEASE "5.13/01"
+#define ROOT_RELEASE_DATE "Jul 11 2006"
+#define ROOT_RELEASE_TIME "18:35:41"
+#define ROOT_VERSION_CODE 331009
 #define ROOT_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
 
 #endif
diff --git a/build/version_number b/build/version_number
index d6b4650cd9efec6fdb850d8557af92618cb9bd9e..5b03c9168c83fd60d35ea64f51e0e6047f963a61 100644
--- a/build/version_number
+++ b/build/version_number
@@ -1 +1 @@
-5.12/00
+5.13/01
diff --git a/gl/src/TGLUtil.cxx b/gl/src/TGLUtil.cxx
index f4a8bda9517a30aea3fbc7be1264dadb9d7d0732..008a4ec24c6cc88d33eebde18ba3b99c676196c6 100644
--- a/gl/src/TGLUtil.cxx
+++ b/gl/src/TGLUtil.cxx
@@ -1,4 +1,4 @@
-// @(#)root/gl:$Name:  $:$Id: TGLUtil.cxx,v 1.26 2006/02/23 16:44:52 brun Exp $
+// @(#)root/gl:$Name:  $:$Id: TGLUtil.cxx,v 1.27 2006/06/13 15:43:39 couet Exp $
 // Author:  Richard Maunder  25/05/2005
 
 /*************************************************************************
@@ -965,7 +965,7 @@ const UChar_t *TGLSelectionBuffer::GetPixelColor(Int_t px, Int_t py)const
    if (py < 0)
       py = 0;
 
-   if (px * fWidth * 4 + py * 4 > fBuffer.size())
+   if ((UInt_t)(px * fWidth * 4 + py * 4) > fBuffer.size())
       return &fBuffer[0];
 
    return &fBuffer[px * fWidth * 4 + py * 4];