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 /vncviewer/CConn.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 'vncviewer/CConn.h')
-rw-r--r-- | vncviewer/CConn.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vncviewer/CConn.h b/vncviewer/CConn.h index e662ec87..4f0e86fe 100644 --- a/vncviewer/CConn.h +++ b/vncviewer/CConn.h @@ -53,7 +53,7 @@ public: void setName(const char* name); - void setColourMapEntries(int firstColour, int nColours, rdr::U16* rgbs); + void setColourMapEntries(int firstColour, int nColours, uint16_t* rgbs); void bell(); @@ -62,10 +62,10 @@ public: bool dataRect(const rfb::Rect& r, int encoding); void setCursor(int width, int height, const rfb::Point& hotspot, - const rdr::U8* data); + const uint8_t* data); void setCursorPos(const rfb::Point& pos); - void fence(rdr::U32 flags, unsigned len, const char data[]); + void fence(uint32_t flags, unsigned len, const char data[]); void setLEDState(unsigned int state); |