From 124e83c83d96812f5a034a1a5c878d32a6393113 Mon Sep 17 00:00:00 2001
From: Bertrand Bellenot <bertrand.bellenot@cern.ch>
Date: Thu, 17 Jan 2019 14:47:11 +0100
Subject: [PATCH] Fix warning: comparison between signed and unsigned integer
 expressions on Ubuntu 32bit

---
 gui/gui/src/TGFileBrowser.cxx | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gui/gui/src/TGFileBrowser.cxx b/gui/gui/src/TGFileBrowser.cxx
index f204d042443..5a4543cdf99 100644
--- a/gui/gui/src/TGFileBrowser.cxx
+++ b/gui/gui/src/TGFileBrowser.cxx
@@ -1649,7 +1649,8 @@ void TGFileBrowser::GetObjPicture(const TGPicture **pic, TObject *obj)
 void TGFileBrowser::GotoDir(const char *path)
 {
    TGListTreeItem *item, *itm;
-   Long_t id, bsize, blocks, bfree;
+   ULong_t id;
+   Long_t bsize, blocks, bfree;
    Bool_t expand = kTRUE;
    TString sPath(gSystem->UnixPathName(path));
    item = fRootDir;
@@ -1675,7 +1676,7 @@ void TGFileBrowser::GotoDir(const char *path)
       expand = kFALSE;
    // check also AFS_SUPER_MAGIC, NFS_SUPER_MAGIC, FUSE_SUPER_MAGIC,
    // CIFS_MAGIC_NUMBER and SMB_SUPER_MAGIC
-   if (!gSystem->GetFsInfo(path, &id, &bsize, &blocks, &bfree))
+   if (!gSystem->GetFsInfo(path, (Long_t *)&id, &bsize, &blocks, &bfree))
       if (id == 0x5346414f || id == 0x6969 || id == 0x65735546 || id == 0xff534d42 || id == 0x517b)
          expand = kFALSE;
    if (first.Length() == 2 && first.EndsWith(":")) {
-- 
GitLab