Skip to content

Commit 5ced8bf

Browse files
jaredwyjaredadobe
andauthored
More changes from PS to fix UWP compilation issues (#86)
Co-authored-by: jared wyles <[email protected]>
1 parent de1c85c commit 5ced8bf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

adobe/name.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ constexpr std::size_t name_hash(const char* str, std::size_t len, std::size_t n,
6868
static_assert(sizeok_k, "Unknown sizeof std::size_t (must be 4 or 8).");
6969

7070
return n < len ? name_hash(str, len, n + 1,
71-
(state xor static_cast<std::size_t>(str[n])) * name_fnv_prime_k)
71+
(state ^ static_cast<std::size_t>(str[n])) * name_fnv_prime_k)
7272
: state;
7373
}
7474

source/zuid_sys_dep.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ adobe::md5_t::digest_t get_generic_random_info() {
161161

162162
/**************************************************************************************************/
163163

164-
#if ADOBE_PLATFORM_WIN
164+
#if ADOBE_PLATFORM_WIN && !BOOST_PLAT_WINDOWS_UWP
165165

166166
/**************************************************************************************************/
167167

0 commit comments

Comments
 (0)