diff options
author | Pierre Ossman <ossman@cendio.se> | 2022-09-10 13:19:41 +0200 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2023-02-01 21:17:12 +0100 |
commit | 6881c895ab317bd302addac5f228b7367136017f (patch) | |
tree | 18d1119f59209147d97e873c3dbc9be36e429aaf /win/rfb_win32/BitmapInfo.h | |
parent | baca73d03217a1c219d9c4f024ffcd39f85fd322 (diff) | |
download | tigervnc-6881c895ab317bd302addac5f228b7367136017f.tar.gz tigervnc-6881c895ab317bd302addac5f228b7367136017f.zip |
Use stdint types
Avoid having our own custom stuff and instead use the modern, standard
types, for familiarity.
Diffstat (limited to 'win/rfb_win32/BitmapInfo.h')
-rw-r--r-- | win/rfb_win32/BitmapInfo.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/win/rfb_win32/BitmapInfo.h b/win/rfb_win32/BitmapInfo.h index 6a6f0d24..6cbea15c 100644 --- a/win/rfb_win32/BitmapInfo.h +++ b/win/rfb_win32/BitmapInfo.h @@ -20,7 +20,6 @@ #define __RFB_WIN32_BITMAP_INFO_H__ #include <windows.h> -#include <rdr/types.h> namespace rfb { namespace win32 { @@ -39,7 +38,7 @@ namespace rfb { inline void initMaxAndShift(DWORD mask, int* max, int* shift) { for ((*shift) = 0; (mask & 1) == 0; (*shift)++) mask >>= 1; - (*max) = (rdr::U16)mask; + (*max) = (uint16_t)mask; } }; |