diff --git a/src/jit/lower.cpp b/src/jit/lower.cpp index 13780ca1888c..85a5d8c082a9 100644 --- a/src/jit/lower.cpp +++ b/src/jit/lower.cpp @@ -5595,10 +5595,10 @@ void Lowering::getCastDescription(GenTree* treeNode, CastInfo* castInfo) if (castInfo->requiresOverflowCheck) { - ssize_t typeMin = 0; - ssize_t typeMax = 0; - ssize_t typeMask = 0; - bool signCheckOnly = false; + target_ssize_t typeMin = 0; + target_ssize_t typeMax = 0; + target_ssize_t typeMask = 0; + bool signCheckOnly = false; // Do we need to compare the value, or just check masks switch (dstType) diff --git a/src/jit/lower.h b/src/jit/lower.h index 656e1773245f..535d08194c7a 100644 --- a/src/jit/lower.h +++ b/src/jit/lower.h @@ -39,10 +39,10 @@ class Lowering : public Phase // All other fields are only meaningful if requiresOverflowCheck is set. - ssize_t typeMin; // Lowest storable value of the dest type - ssize_t typeMax; // Highest storable value of the dest type - ssize_t typeMask; // For converting from/to unsigned - bool signCheckOnly; // For converting between unsigned/signed int + target_ssize_t typeMin; // Lowest storable value of the dest type + target_ssize_t typeMax; // Highest storable value of the dest type + target_ssize_t typeMask; // For converting from/to unsigned + bool signCheckOnly; // For converting between unsigned/signed int }; static void getCastDescription(GenTree* treeNode, CastInfo* castInfo);