Change from long to int #4307
This commit is contained in:
parent
cc620df157
commit
657f6f9aaf
3 changed files with 5 additions and 5 deletions
|
@ -45,7 +45,7 @@ public interface SQLiteAPI {
|
|||
|
||||
long getLong(int ind);
|
||||
|
||||
long getInt(int ind);
|
||||
int getInt(int ind);
|
||||
|
||||
byte[] getBlob(int ind);
|
||||
|
||||
|
|
|
@ -87,7 +87,7 @@ public class SQLiteAPIImpl implements SQLiteAPI {
|
|||
}
|
||||
|
||||
@Override
|
||||
public long getInt(int ind) {
|
||||
public int getInt(int ind) {
|
||||
return c.getInt(ind);
|
||||
}
|
||||
|
||||
|
|
|
@ -23,10 +23,10 @@ public class DatabaseHelper {
|
|||
private OsmandApplication app;
|
||||
|
||||
public static class HistoryDownloadEntry {
|
||||
long count;
|
||||
int count;
|
||||
String name;
|
||||
|
||||
public HistoryDownloadEntry(String name, long count){
|
||||
public HistoryDownloadEntry(String name, int count){
|
||||
this.count = count;
|
||||
this.name = name;
|
||||
|
||||
|
@ -36,7 +36,7 @@ public class DatabaseHelper {
|
|||
return name;
|
||||
}
|
||||
|
||||
public long getCount() {
|
||||
public int getCount() {
|
||||
return count;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue