Commit eacc6a72 authored by Arnaud Blanchard's avatar Arnaud Blanchard
Browse files

Fix for 32bits system (i.e raspberry)

parent e513171a
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment