Skip to content
Snippets Groups Projects
Commit d3248c55 authored by Izzard, Robert Dr (Maths & Physics)'s avatar Izzard, Robert Dr (Maths & Physics)
Browse files

fix %d -> %u conversion

parent 7b9390cf
No related branches found
No related tags found
No related merge requests found
...@@ -149,7 +149,7 @@ void wtts_log(struct stardata_t * RESTRICT const stardata, ...@@ -149,7 +149,7 @@ void wtts_log(struct stardata_t * RESTRICT const stardata,
if(fp==NULL) if(fp==NULL)
{ {
char f[200]; char f[200];
int ret = snprintf(f,9,"./star%d",i); int ret = snprintf(f,9,"./star%u",i);
if(ret < 0){ if(ret < 0){
/* enforce truncation */ /* enforce truncation */
f[199] = '\0'; f[199] = '\0';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment