Properly use float for constants where appropriate (bug 14401, bug 14403)

This commit is contained in:
rim
2018-05-26 23:51:32 +02:00
committed by Landry Breuil
parent 4d4d0b5073
commit 704411a38b
8 changed files with 25 additions and 25 deletions

View File

@@ -41,7 +41,7 @@ get_memory_usage (guint64 *memory_total, guint64 *memory_free, guint64 *memory_c
gboolean
get_cpu_usage (gushort *cpu_count, gfloat *cpu_user, gfloat *cpu_system)
{
*cpu_user = *cpu_system = 0.0;
*cpu_user = *cpu_system = 0.0f;
*cpu_count = 0; /*_cpu_count;*/
return TRUE;