Skip to content

Instantly share code, notes, and snippets.

@hardening
Created March 17, 2022 13:47
Show Gist options
  • Save hardening/6a6e0ba18dc9a40531b1b86d19ee788e to your computer and use it in GitHub Desktop.
Save hardening/6a6e0ba18dc9a40531b1b86d19ee788e to your computer and use it in GitHub Desktop.
/home/david/dev/git/FreeRDP/client/common/client.c: In function ‘client_auto_reconnect_ex’:
/home/david/dev/git/FreeRDP/client/common/client.c:907:34: warning: passing argument 1 of ‘freerdp_get_last_error’ from incompatible pointer type [-Wincompatible-pointer-types]
907 | switch (freerdp_get_last_error(instance))
| ^~~~~~~~
| |
| freerdp * {aka struct rdp_freerdp *}
In file included from /home/david/dev/git/FreeRDP/include/freerdp/client.h:25,
from /home/david/dev/git/FreeRDP/client/common/client.c:25:
/home/david/dev/git/FreeRDP/include/freerdp/freerdp.h:549:56: note: expected ‘rdpContext *’ {aka ‘struct rdp_context *’} but argument is of type ‘freerdp *’ {aka ‘struct rdp_freerdp *’}
549 | FREERDP_API UINT32 freerdp_get_last_error(rdpContext* context);
| ~~~~~~~~~~~~^~~~~~~
[ 85%] Linking C shared library libfreerdp-client3.so
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment