Browse Source

Fix incorrect printf usage of uint64_t's

Fredrik Svantesson 6 years ago
parent
commit
3ed29dfa7c
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      src/light.c

+ 3
- 3
src/light.c View File

697
     
697
     
698
     if(ctx->run_params.raw_mode)
698
     if(ctx->run_params.raw_mode)
699
     {
699
     {
700
-        printf(PRIu64 "\n", value);
700
+        printf("%" PRIu64 "\n", value);
701
     }
701
     }
702
     else 
702
     else 
703
     {
703
     {
735
         return false;
735
         return false;
736
     }
736
     }
737
     
737
     
738
-    printf(PRIu64 "\n", max_value);
738
+    printf("%" PRIu64 "\n", max_value);
739
     return true;
739
     return true;
740
 }
740
 }
741
 
741
 
786
     
786
     
787
     if(ctx->run_params.raw_mode)
787
     if(ctx->run_params.raw_mode)
788
     {
788
     {
789
-        printf(PRIu64 "\n", minimum_value);
789
+        printf("%" PRIu64 "\n", minimum_value);
790
     }
790
     }
791
     else 
791
     else 
792
     {
792
     {