summaryrefslogtreecommitdiff
path: root/astro/kstars/files/patch-kstars_skyobjects_kscomet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'astro/kstars/files/patch-kstars_skyobjects_kscomet.cpp')
-rw-r--r--astro/kstars/files/patch-kstars_skyobjects_kscomet.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/astro/kstars/files/patch-kstars_skyobjects_kscomet.cpp b/astro/kstars/files/patch-kstars_skyobjects_kscomet.cpp
new file mode 100644
index 000000000000..85037a9c3a6e
--- /dev/null
+++ b/astro/kstars/files/patch-kstars_skyobjects_kscomet.cpp
@@ -0,0 +1,11 @@
+--- kstars/skyobjects/kscomet.cpp.orig 2014-09-19 05:39:42 UTC
++++ kstars/skyobjects/kscomet.cpp
+@@ -119,7 +119,7 @@ KSComet::KSComet( const QString &_s, con
+ qint64 fragment = letterDesigToN( rePro.cap(6) );
+
+ uidPart =
+- 1 << 43 |
++ 1ull << 43 |
+ type << 40 | // Bits 40-42 (3)
+ halfMonth << 33 | // Bits 33-39 (7) Hope this is enough
+ nHalfMonth << 28 | // Bits 28-32 (5)