Diff of /inotify.c [2c7a3b] .. [61fbce]  Maximize  Restore

Switch to side-by-side view

--- a/inotify.c
+++ b/inotify.c
@@ -518,7 +518,7 @@
 	char *id;
 	char *ptr;
 	char **result;
-	sqlite_int64 detailID;
+	int64_t detailID;
 	int rows, playlist;
 
 	if( ends_with(path, ".srt") )
@@ -546,7 +546,7 @@
 	else
 	{
 		/* Delete the parent containers if we are about to empty them. */
-		snprintf(sql, sizeof(sql), "SELECT PARENT_ID from OBJECTS where DETAIL_ID = %lld", detailID);
+		snprintf(sql, sizeof(sql), "SELECT PARENT_ID from OBJECTS where DETAIL_ID = %lld", (long long int)detailID);
 		if( (sql_get_table(db, sql, &result, &rows, NULL) == SQLITE_OK) )
 		{
 			int i, children;
@@ -596,7 +596,7 @@
 {
 	char * sql;
 	char **result;
-	sqlite_int64 detailID = 0;
+	int64_t detailID = 0;
 	int rows, i, ret = 1;
 
 	/* Invalidate the scanner cache so we don't insert files into non-existent containers */

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks