From fd09fecd8e5ff3963e2e53c801316ee09f6a0a50 Mon Sep 17 00:00:00 2001 From: Josh Klontz Date: Tue, 25 Aug 2015 12:10:34 -0400 Subject: [PATCH] fixed casting warning --- openbr/universal_template.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openbr/universal_template.cpp b/openbr/universal_template.cpp index 5959465..5098ad1 100644 --- a/openbr/universal_template.cpp +++ b/openbr/universal_template.cpp @@ -94,7 +94,7 @@ int br_iterate_utemplates_file(FILE *file, br_utemplate_callback callback, br_ca free(t); // Try to rewind header read - if (fseek(file, -sizeof(br_universal_template), SEEK_CUR)) + if (fseek(file, -long(sizeof(br_universal_template)), SEEK_CUR)) qFatal("Unable to recover from partial template read!"); break; -- libgit2 0.21.4