silence warning, add credit to readme, bump version for release
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
cmake_minimum_required(VERSION 3.13)
|
||||
|
||||
set(sphaira_VERSION 0.4.1)
|
||||
set(sphaira_VERSION 0.5.0)
|
||||
|
||||
project(sphaira
|
||||
VERSION ${sphaira_VERSION}
|
||||
|
||||
@@ -203,7 +203,11 @@ int ftp_vfs_write(struct FtpVfsFile* f, const void* buf, size_t size) {
|
||||
return vfs_fs_set_errno(rc);
|
||||
}
|
||||
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wpointer-arith"
|
||||
buf += sz;
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
size -= sz;
|
||||
f->off += f->buf_off;
|
||||
f->buf_off = 0;
|
||||
|
||||
Reference in New Issue
Block a user