comparison OrthancFramework/Sources/Endianness.h @ 5432:59e3b6f8c5be

migration to UCLouvain servers
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 21 Nov 2023 18:16:31 +0100
parents 0ea402b4d901
children 48b8dae6dc77
comparison
equal deleted inserted replaced
5431:4be5f117aa0d 5432:59e3b6f8c5be
142 * # hg log -p -r 2706 142 * # hg log -p -r 2706
143 * 143 *
144 * This alternative implementation only hid an underlying problem 144 * This alternative implementation only hid an underlying problem
145 * with pointer alignment on some architectures, and was thus 145 * with pointer alignment on some architectures, and was thus
146 * reverted. Check out issue #99: 146 * reverted. Check out issue #99:
147 * https://bugs.orthanc-server.com/show_bug.cgi?id=99 147 * https://orthanc.uclouvain.be/bugs/show_bug.cgi?id=99
148 **/ 148 **/
149 return (a << 8) | (a >> 8); 149 return (a << 8) | (a >> 8);
150 } 150 }
151 151
152 static inline uint32_t __orthanc_bswap32(uint32_t a) 152 static inline uint32_t __orthanc_bswap32(uint32_t a)