diff options
author | DRC <information@virtualgl.org> | 2018-09-30 19:37:14 +0200 |
---|---|---|
committer | Christian Beier <dontmind@freeshell.org> | 2018-09-30 19:37:14 +0200 |
commit | 7063f607e4d6ab26dc0c67d628caea785888d7a0 (patch) | |
tree | 782c344e1980729543cbdf90b4abd5ea313072ee | |
parent | a83439b9fbe0f03c48eb94ed05729cb016f8b72f (diff) | |
download | libtdevnc-7063f607e4d6ab26dc0c67d628caea785888d7a0.tar.gz libtdevnc-7063f607e4d6ab26dc0c67d628caea785888d7a0.zip |
Fix compilaton with gcc 4.4.x
Closes #204
Signed-off-by: Christian Beier <dontmind@freeshell.org>
-rw-r--r-- | libvncserver/ws_decode.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libvncserver/ws_decode.h b/libvncserver/ws_decode.h index 709477a..eb774a4 100644 --- a/libvncserver/ws_decode.h +++ b/libvncserver/ws_decode.h @@ -110,7 +110,7 @@ typedef struct ws_header_data_s { unsigned char fin; } ws_header_data_t; -typedef struct ws_ctx_s { +struct ws_ctx_s { char codeBufDecode[2048 + WSHLENMAX]; /* base64 + maximum frame header length */ char codeBufEncode[B64LEN(UPDATE_BUF_SIZE) + WSHLENMAX]; /* base64 + maximum frame header length */ char *writePos; @@ -126,7 +126,7 @@ typedef struct ws_ctx_s { wsEncodeFunc encode; wsDecodeFunc decode; ctxInfo_t ctxInfo; -} ws_ctx_t; +}; enum { |