aboutsummaryrefslogtreecommitdiffstats
path: root/vncviewer/CConn.h
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2022-09-10 13:19:41 +0200
committerPierre Ossman <ossman@cendio.se>2023-02-01 21:17:12 +0100
commit6881c895ab317bd302addac5f228b7367136017f (patch)
tree18d1119f59209147d97e873c3dbc9be36e429aaf /vncviewer/CConn.h
parentbaca73d03217a1c219d9c4f024ffcd39f85fd322 (diff)
downloadtigervnc-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.h6
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);