aboutsummaryrefslogtreecommitdiffstats
path: root/cpufreq.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpufreq.c')
-rw-r--r--cpufreq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpufreq.c b/cpufreq.c
index 1eab630..6497eff 100644
--- a/cpufreq.c
+++ b/cpufreq.c
@@ -22,7 +22,7 @@ int cpufreq_is_cpu(char *name)
}
// Set a cpufreq parameter to a value
-int cpufreq_set_str(char *parameter,char *value,int checkdelay)
+int cpufreq_set_str(char *parameter,char *value,long int checkdelay)
{
int fd;
char sysfs_file[128];
@@ -94,7 +94,7 @@ int cpufreq_set_str(char *parameter,char *value,int checkdelay)
// This is just a wrapper around cpufreq_set_str with long int to string
// convertion
-int cpufreq_set_long_int(char *parameter,long int value,int checkdelay)
+int cpufreq_set_long_int(char *parameter,long int value,long int checkdelay)
{
char buf[255];