Commit fd09fecd8e5ff3963e2e53c801316ee09f6a0a50

Authored by Josh Klontz
1 parent 5e3115da

fixed casting warning

Showing 1 changed file with 1 additions and 1 deletions
openbr/universal_template.cpp
@@ -94,7 +94,7 @@ int br_iterate_utemplates_file(FILE *file, br_utemplate_callback callback, br_ca @@ -94,7 +94,7 @@ int br_iterate_utemplates_file(FILE *file, br_utemplate_callback callback, br_ca
94 free(t); 94 free(t);
95 95
96 // Try to rewind header read 96 // Try to rewind header read
97 - if (fseek(file, -sizeof(br_universal_template), SEEK_CUR)) 97 + if (fseek(file, -long(sizeof(br_universal_template)), SEEK_CUR))
98 qFatal("Unable to recover from partial template read!"); 98 qFatal("Unable to recover from partial template read!");
99 99
100 break; 100 break;