{"action":"created","issue":{"url":"https://api.github.com/repos/FreeRDP/FreeRDP/issues/3903","repository_url":"https://api.github.com/repos/FreeRDP/FreeRDP","labels_url":"https://api.github.com/repos/FreeRDP/FreeRDP/issues/3903/labels{/name}","comments_url":"https://api.github.com/repos/FreeRDP/FreeRDP/issues/3903/comments","events_url":"https://api.github.com/repos/FreeRDP/FreeRDP/issues/3903/events","html_url":"https://github.com/FreeRDP/FreeRDP/issues/3903","id":219984551,"number":3903,"title":"pointer conversion issue in libwinpr/file/generic.c","user":{"login":"hendwolt","id":12591752,"avatar_url":"https://avatars1.githubusercontent.com/u/12591752?v=3","gravatar_id":"","url":"https://api.github.com/users/hendwolt","html_url":"https://github.com/hendwolt","followers_url":"https://api.github.com/users/hendwolt/followers","following_url":"https://api.github.com/users/hendwolt/following{/other_user}","gists_url":"https://api.github.com/users/hendwolt/gists{/gist_id}","starred_url":"https://api.github.com/users/hendwolt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hendwolt/subscriptions","organizations_url":"https://api.github.com/users/hendwolt/orgs","repos_url":"https://api.github.com/users/hendwolt/repos","events_url":"https://api.github.com/users/hendwolt/events{/privacy}","received_events_url":"https://api.github.com/users/hendwolt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-04-06T18:10:07Z","updated_at":"2017-04-07T06:37:10Z","closed_at":null,"body":"I get 2 warnings in libwinpr/file/generic.c when compiling the current master with Open Build Service:\r\n\r\n[   60s] [  7%] Building C object winpr/libwinpr/CMakeFiles/winpr.dir/file/generic.c.o\r\n[   60s] /home/abuild/rpmbuild/BUILD/FreeRDP-master/winpr/libwinpr/file/generic.c: In function 'GetFileAttributesExA':\r\n[   60s] /home/abuild/rpmbuild/BUILD/FreeRDP-master/winpr/libwinpr/file/generic.c:478:13: warning: assignment makes pointer from integer without a cast [-Wint-conversion]\r\n[   60s]   if ((hFind = FindFirstFileA(lpFileName, &findFileData) != INVALID_HANDLE_VALUE))\r\n[   60s]              ^\r\n[   60s] /home/abuild/rpmbuild/BUILD/FreeRDP-master/winpr/libwinpr/file/generic.c: In function 'FindNextFileA':\r\n[   60s] /home/abuild/rpmbuild/BUILD/FreeRDP-master/winpr/libwinpr/file/generic.c:976:53: warning: right shift count >= width of type [-Wshift-count-overflow]\r\n[   60s]     lpFindFileData->nFileSizeHigh = fileStat.st_size >> 32;\r\n[   60s]                                                      ^~\r\n\r\nThe first one (line 478) makes the portability checks of OBS fail. Therefore it's not possible, to build this version on OBS.\r\n\r\nThe second one (line 976) occurs only in 32 bit builds.\r\n\r\n[osTWbuild_log_20170406.zip](https://github.com/FreeRDP/FreeRDP/files/903549/osTWbuild_log_20170406.zip)\r\n"},"comment":{"url":"https://api.github.com/repos/FreeRDP/FreeRDP/issues/comments/292454077","html_url":"https://github.com/FreeRDP/FreeRDP/issues/3903#issuecomment-292454077","issue_url":"https://api.github.com/repos/FreeRDP/FreeRDP/issues/3903","id":292454077,"user":{"login":"akallabeth","id":3472254,"avatar_url":"https://avatars1.githubusercontent.com/u/3472254?v=3","gravatar_id":"","url":"https://api.github.com/users/akallabeth","html_url":"https://github.com/akallabeth","followers_url":"https://api.github.com/users/akallabeth/followers","following_url":"https://api.github.com/users/akallabeth/following{/other_user}","gists_url":"https://api.github.com/users/akallabeth/gists{/gist_id}","starred_url":"https://api.github.com/users/akallabeth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akallabeth/subscriptions","organizations_url":"https://api.github.com/users/akallabeth/orgs","repos_url":"https://api.github.com/users/akallabeth/repos","events_url":"https://api.github.com/users/akallabeth/events{/privacy}","received_events_url":"https://api.github.com/users/akallabeth/received_events","type":"User","site_admin":false},"created_at":"2017-04-07T06:37:10Z","updated_at":"2017-04-07T06:37:10Z","body":"Already solved with #3902 "}}
{"actor":{"display_login":"akallabeth"}}