Ticket #9257: win_tss_ptr.ipp.patch

File win_tss_ptr.ipp.patch, 416 bytes (added by marci_r@…, 9 years ago)

Fix for clang-cl compiler warning

  • win_tss_ptr.ipp

     
    3434#if defined(UNDER_CE)
    3535  enum { out_of_indexes = 0xFFFFFFFF };
    3636#else
    37   enum { out_of_indexes = TLS_OUT_OF_INDEXES };
     37  enum { out_of_indexes = static_cast<int>(TLS_OUT_OF_INDEXES) };
    3838#endif
    3939
    4040  DWORD tss_key = ::TlsAlloc();