{"push_id":2600306798,"size":3,"distinct_size":3,"ref":"refs/heads/master","head":"2ad246a3f1975fd82373de80be6aa3a460106be1","before":"b77dfaf89055aaa48cc7ef57899bfc8697e1b4eb","commits":[{"sha":"4c045f86229dd2021df0d2ad8cf9a31f3f9b8e3c","author":{"name":"Tomasz Kłoczko","email":"00dd7c265be03c381150912b5b8354033eccfa1d@fedoraproject.org"},"message":"- fix compile warnings\n\nsystem.cc: In static member function ‘static void TScreen::moveCursor(int, int)’:\nsystem.cc:2225:33: warning: narrowing conversion of ‘x’ from ‘int’ to ‘unsigned char’ inside { } [-Wnarrowing]\n   unsigned char where[2] = {x, y};\n                                 ^\nsystem.cc:2225:33: warning: narrowing conversion of ‘y’ from ‘int’ to ‘unsigned char’ inside { } [-Wnarrowing]\n\nx and y are passed to TScreen::moveCursor() as int so declare where[2] as vector of int","distinct":true,"url":"https://api.github.com/repos/kloczek/tvision/commits/4c045f86229dd2021df0d2ad8cf9a31f3f9b8e3c"},{"sha":"1dfa4bc4f76795563656501b0be1f8273cd34b6c","author":{"name":"Tomasz Kłoczko","email":"00dd7c265be03c381150912b5b8354033eccfa1d@fedoraproject.org"},"message":"- fix compile error\n\nfileview.cc: In member function ‘void TFileViewer::readFile(const char*)’:\nfileview.cc:112:52: error: no match for ‘operator!=’ (operand types are ‘std::basic_istream<char>::__istream_type’ {aka ‘std::basic_istream<char>’} and ‘int’)\n                fileToView.get( line, sizeof line ) != 0\n                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~\nfileview.cc:112:52: note: candidate: ‘operator!=(int, int)’ <built-in>\nfileview.cc:112:52: note:   no known conversion for argument 1 from ‘std::basic_istream<char>::__istream_type’ {aka ‘std::basic_istream<char>’} to ‘int’\n\nUse \"fileToView.getline( line, sizeof line )\" instead \"fileToView.get( line, sizeof line ) != 0\"","distinct":true,"url":"https://api.github.com/repos/kloczek/tvision/commits/1dfa4bc4f76795563656501b0be1f8273cd34b6c"},{"sha":"2ad246a3f1975fd82373de80be6aa3a460106be1","author":{"name":"Tomasz Kłoczko","email":"00dd7c265be03c381150912b5b8354033eccfa1d@fedoraproject.org"},"message":"- fix compile error\n\ntvguid06.cc: In function ‘void readFile(const char*)’:\ntvguid06.cc:62:57: error: no match for ‘operator!=’ (operand types are ‘std::basic_istream<char>::__istream_type’ {aka ‘std::basic_istream<char>’} and ‘int’)\n                fileToView.getline( buf, maxLineLength ) != 0 )\n                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~\ntvguid06.cc:62:57: note: candidate: ‘operator!=(int, int)’ <built-in>\ntvguid06.cc:62:57: note:   no known conversion for argument 1 from ‘std::basic_istream<char>::__istream_type’ {aka ‘std::basic_istream<char>’} to ‘int’\n\njust s/fileToView.getline( buf, maxLineLength ) != 0/fileToView.getline( buf, maxLineLength )/","distinct":true,"url":"https://api.github.com/repos/kloczek/tvision/commits/2ad246a3f1975fd82373de80be6aa3a460106be1"}]}
{"actor":{"display_login":"kloczek"}}