mirror of
https://github.com/allankoechke/SQLiteCpp.git
synced 2026-12-01 17:09:55 +00:00
Fixed the 3 warnings specifis to 64 bits GCC build
- warnings revealed by issue 3 - but also shown by Travis CI builds
This commit is contained in:
@@ -291,7 +291,7 @@ int main (void)
|
||||
{
|
||||
char buffer[16*1024];
|
||||
void* blob = &buffer;
|
||||
size_t size = fread(blob, 1, 16*1024, fp);
|
||||
int size = static_cast<int>(fread(blob, 1, 16*1024, fp));
|
||||
buffer[size] = '\0';
|
||||
fclose (fp);
|
||||
std::cout << "blob size=" << size << " :\n";
|
||||
|
||||
Reference in New Issue
Block a user