summaryrefslogtreecommitdiff
path: root/src/trg-files-model.c
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2011-02-09 23:00:02 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2011-02-09 23:00:02 +0000
commit90c7795e77a534a89f1809b1de14c7cadab5e6a6 (patch)
tree1a74a15e6a5271051731cdc5ab08e890b27d2eef /src/trg-files-model.c
parent06db39257ac597485cf1d8afaa93853eece40717 (diff)
another gint64/gint mismatch
Diffstat (limited to 'src/trg-files-model.c')
-rw-r--r--src/trg-files-model.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/trg-files-model.c b/src/trg-files-model.c
index 379fb2c..874ddf7 100644
--- a/src/trg-files-model.c
+++ b/src/trg-files-model.c
@@ -33,7 +33,7 @@ G_DEFINE_TYPE(TrgFilesModel, trg_files_model, GTK_TYPE_LIST_STORE)
typedef struct _TrgFilesModelPrivate TrgFilesModelPrivate;
struct _TrgFilesModelPrivate {
- gint torrentId;
+ gint64 torrentId;
JsonArray *files;
JsonArray *wanted;
JsonArray *priorities;
@@ -166,7 +166,7 @@ trg_files_model_update(TrgFilesModel * model, gint64 updateSerial,
}
}
-gint trg_files_model_get_torrent_id(TrgFilesModel * model)
+gint64 trg_files_model_get_torrent_id(TrgFilesModel * model)
{
TrgFilesModelPrivate *priv = TRG_FILES_MODEL_GET_PRIVATE(model);
return priv->torrentId;