[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: KDE/kdelibs/solid/solid/backends/hal
From:       "Christian Ehrlicher" <Ch.Ehrlicher () gmx ! de>
Date:       2007-10-25 8:14:35
Message-ID: 20071025081435.35150 () gmx ! net
[Download RAW message or body]

> Von: David Faure
> SVN commit 729190 by dfaure:
> 
> warning: this decimal constant is unsigned only in ISO C90
> If this doesn't compile with MSVC then we need Q_INT64_C() instead, I
> think
> 
> 
>  M  +1 -1      haldevice.cpp  
> 
> 
> --- trunk/KDE/kdelibs/solid/solid/backends/hal/haldevice.cpp
> #729189:729190
> @@ -146,7 +146,7 @@
>          } else if (property("storage.hotpluggable").toBool()) {
>              if (property("storage.bus").toString()=="usb") {
>                  if (property("storage.no_partitions_hint").toBool()
> -                 ||
> property("storage.removable.media_size").toLongLong()<4000000000) {
> +                 ||
> property("storage.removable.media_size").toLongLong()<4000000000LL) {
>                      return "drive-removable-media-usb-pendrive";
>                  } else {
>                      return "drive-removable-media-usb";
LL suffix is supported by msvc, so it should compile :)


Christian

-- 
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic