Change from long to int #4307

This commit is contained in:
Victor Shcherb 2017-08-23 22:55:24 +02:00
parent cc620df157
commit 657f6f9aaf
3 changed files with 5 additions and 5 deletions

View file

@ -45,7 +45,7 @@ public interface SQLiteAPI {
long getLong(int ind);
long getInt(int ind);
int getInt(int ind);
byte[] getBlob(int ind);

View file

@ -87,7 +87,7 @@ public class SQLiteAPIImpl implements SQLiteAPI {
}
@Override
public long getInt(int ind) {
public int getInt(int ind) {
return c.getInt(ind);
}

View file

@ -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;
}
}