Mercurial > hg > orthanc
comparison OrthancFramework/Sources/Endianness.h @ 4476:c1f36fd13730
migrate remaining links to issues in bitbucket to mercurial server
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 26 Jan 2021 18:25:52 +0100 |
parents | d9473bd5ed43 |
children | 7053502fbf97 |
comparison
equal
deleted
inserted
replaced
4475:a24d2126efd2 | 4476:c1f36fd13730 |
---|---|
141 * # hg log -p -r 2706 | 141 * # hg log -p -r 2706 |
142 * | 142 * |
143 * This alternative implementation only hid an underlying problem | 143 * This alternative implementation only hid an underlying problem |
144 * with pointer alignment on some architectures, and was thus | 144 * with pointer alignment on some architectures, and was thus |
145 * reverted. Check out issue #99: | 145 * reverted. Check out issue #99: |
146 * https://bitbucket.org/sjodogne/orthanc/issues/99 | 146 * https://bugs.orthanc-server.com/show_bug.cgi?id=99 |
147 **/ | 147 **/ |
148 return (a << 8) | (a >> 8); | 148 return (a << 8) | (a >> 8); |
149 } | 149 } |
150 | 150 |
151 static inline uint32_t __orthanc_bswap32(uint32_t a) | 151 static inline uint32_t __orthanc_bswap32(uint32_t a) |