Skip to content
Snippets Groups Projects
Commit 8964cbbb authored by Marco Nelissen's avatar Marco Nelissen
Browse files

sqlite integer fields are long

Change-Id: I350ccfe91af707cfc234bead9341d68b55623d7b
parent 7b925fbb
No related branches found
No related tags found
No related merge requests found
......@@ -498,7 +498,7 @@ public class Content {
columnValue = String.valueOf(cursor.getFloat(columnIndex));
break;
case Cursor.FIELD_TYPE_INTEGER:
columnValue = String.valueOf(cursor.getInt(columnIndex));
columnValue = String.valueOf(cursor.getLong(columnIndex));
break;
case Cursor.FIELD_TYPE_STRING:
columnValue = cursor.getString(columnIndex);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment