summaryrefslogtreecommitdiff
path: root/src/db
diff options
context:
space:
mode:
Diffstat (limited to 'src/db')
-rw-r--r--src/db/TagTable.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db/TagTable.vala b/src/db/TagTable.vala
index ce191c1..e8bb701 100644
--- a/src/db/TagTable.vala
+++ b/src/db/TagTable.vala
@@ -235,7 +235,7 @@ public class TagTable : DatabaseTable {
// a typename followed by an identifying number (e.g., "video-022354").
if (token[0].isdigit()) {
// this is a legacy entry
- result.add(PhotoID.upgrade_photo_id_to_source_id(PhotoID(parse_int64(token, 10))));
+ result.add(PhotoID.upgrade_photo_id_to_source_id(PhotoID(int64.parse(token, 10))));
} else if (token[0].isalpha()) {
// this is a modern entry
result.add(token);