Commit eacc6a724f99a5de9689aec258027bb9d1e0a13c

Authored by Arnaud Blanchard
1 parent e513171a

Fix for 32bits system (i.e raspberry)

Showing 1 changed file with 1 additions and 1 deletions
... ... @@ -39,7 +39,7 @@ int main(int argc, char** argv){
SYSTEM_ERROR_CHECK(file=fopen(filename, "w"), NULL, "Creating '%s'", filename);
BLC_COMMAND_LOOP(period){
if (time_str) fprintf(file, "%lld\t", blc_loop_timer.tv_sec*1000000+blc_loop_timer.tv_usec);
if (time_str) fprintf(file, "%lld\t", (int64_t)blc_loop_timer.tv_sec*1000000+ (int64_t)blc_loop_timer.tv_usec);
channel.fprint_tsv(file);
}
SYSTEM_ERROR_CHECK(fclose(file), -1, "Closing '%s'", filename);
... ...