mirror of
https://github.com/Dr-Noob/cpufetch.git
synced 2026-03-25 16:00:39 +01:00
[v0.89] Change freq from int64 to int32, which fixes a compilation issue. Fix Makefile in Windows
This commit is contained in:
@@ -157,7 +157,7 @@ char* get_str_freq(struct frequency* freq) {
|
||||
else if(freq->max >= 1000)
|
||||
snprintf(string,size,"%.2f"STRING_GIGAHERZ,(float)(freq->max)/1000);
|
||||
else
|
||||
snprintf(string,size,"%ld"STRING_MEGAHERZ,freq->max);
|
||||
snprintf(string,size,"%d"STRING_MEGAHERZ,freq->max);
|
||||
|
||||
return string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user