fix bug in previous commit in CMakeList

This commit is contained in:
Simon Morlat 2016-05-20 16:44:03 +02:00
parent cdca50a17e
commit f712c75b66

View file

@ -71,11 +71,10 @@ static int sqlite3bctbx_Read(sqlite3_file *p, void *buf, int count, sqlite_int64
return SQLITE_OK;
}
else if( ret >= 0 ){
/*fill in unread portion of buffer, as requested by sqlite3 documentation*/
memset(((uint8_t*)buf) + ret, 0, count-ret);
return SQLITE_IOERR_SHORT_READ;
}
else {
}else {
return SQLITE_IOERR_READ;
}