GeoHash::unhash_fast is wrong on big endian

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 3.3.2
    • Affects Version/s: 3.3.1
    • Component/s: Portability
    • None
    • Fully Compatible
    • ALL
    • Platforms 10 (02/19/16)
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      GeoHash::unhash_fast is wrong on big endian (it involves a reinterpret_cast on the bytes of a long long, goes in the wrong order on big endian).

      We should eventually make it correct, but for now simply using unhash_slow will do the job

              Assignee:
              Mira Carey
              Reporter:
              Mira Carey
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: