{"action":"created","issue":{"url":"https://api.github.com/repos/bel2125/civetweb/issues/114","labels_url":"https://api.github.com/repos/bel2125/civetweb/issues/114/labels{/name}","comments_url":"https://api.github.com/repos/bel2125/civetweb/issues/114/comments","events_url":"https://api.github.com/repos/bel2125/civetweb/issues/114/events","html_url":"https://github.com/bel2125/civetweb/issues/114","id":72586659,"number":114,"title":"-DUSE_WEBSOCKET","user":{"login":"softwarenerd","id":853239,"avatar_url":"https://avatars.githubusercontent.com/u/853239?v=3","gravatar_id":"","url":"https://api.github.com/users/softwarenerd","html_url":"https://github.com/softwarenerd","followers_url":"https://api.github.com/users/softwarenerd/followers","following_url":"https://api.github.com/users/softwarenerd/following{/other_user}","gists_url":"https://api.github.com/users/softwarenerd/gists{/gist_id}","starred_url":"https://api.github.com/users/softwarenerd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/softwarenerd/subscriptions","organizations_url":"https://api.github.com/users/softwarenerd/orgs","repos_url":"https://api.github.com/users/softwarenerd/repos","events_url":"https://api.github.com/users/softwarenerd/events{/privacy}","received_events_url":"https://api.github.com/users/softwarenerd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-05-02T05:04:49Z","updated_at":"2015-05-10T21:43:41Z","closed_at":null,"body":"Hi,\r\n\r\nI'm seeing some compile warnings with USE_WEBSOCKET:\r\n\r\ncivetweb.c: In function 'handle_request':\r\ncivetweb.c:6787:34: warning: passing argument 5 of 'handle_websocket_request' from incompatible pointer type [enabled by default]\r\ncivetweb.c:6017:13: note: expected 'mg_websocket_ready_handler' but argument is of type 'void (*)(const struct mg_connection *, void *)'\r\ncivetweb.c:6787:34: warning: passing argument 6 of 'handle_websocket_request' from incompatible pointer type [enabled by default]\r\ncivetweb.c:6017:13: note: expected 'mg_websocket_data_handler' but argument is of type 'int (*)(const struct mg_connection *, int,  char *, size_t,  void *)'\r\ncivetweb.c: At top level:\r\n\r\nJust wondering.\r\n\r\nI'm using the library, and hope to contribute to it, once I get some more things working on my end.\r\n\r\nThanks!\r\nBrian\r\n"},"comment":{"url":"https://api.github.com/repos/bel2125/civetweb/issues/comments/100704520","html_url":"https://github.com/bel2125/civetweb/issues/114#issuecomment-100704520","issue_url":"https://api.github.com/repos/bel2125/civetweb/issues/114","id":100704520,"user":{"login":"bel2125","id":5619191,"avatar_url":"https://avatars.githubusercontent.com/u/5619191?v=3","gravatar_id":"","url":"https://api.github.com/users/bel2125","html_url":"https://github.com/bel2125","followers_url":"https://api.github.com/users/bel2125/followers","following_url":"https://api.github.com/users/bel2125/following{/other_user}","gists_url":"https://api.github.com/users/bel2125/gists{/gist_id}","starred_url":"https://api.github.com/users/bel2125/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bel2125/subscriptions","organizations_url":"https://api.github.com/users/bel2125/orgs","repos_url":"https://api.github.com/users/bel2125/repos","events_url":"https://api.github.com/users/bel2125/events{/privacy}","received_events_url":"https://api.github.com/users/bel2125/received_events","type":"User","site_admin":false},"created_at":"2015-05-10T21:43:41Z","updated_at":"2015-05-10T21:43:41Z","body":"I hope that I finally managed to clean up all 'const' vs *not const* issues.\r\nIf you still see some, please tell me - otherwise I will close the issue in a few days.\r\n"}}