summaryrefslogtreecommitdiffstats
path: root/stream/cache2.c
diff options
context:
space:
mode:
Diffstat (limited to 'stream/cache2.c')
-rw-r--r--stream/cache2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/stream/cache2.c b/stream/cache2.c
index 7decd32d01..b7326b4832 100644
--- a/stream/cache2.c
+++ b/stream/cache2.c
@@ -375,10 +375,10 @@ static void ThreadProc( void *s ){
// cache thread mainloop:
signal(SIGTERM,exit_sighandler); // kill
while(1){
- if(!cache_fill((cache_vars_t*)s)){
+ if(!cache_fill(s)){
usec_sleep(FILL_USLEEP_TIME); // idle
}
- cache_execute_control((cache_vars_t*)s);
+ cache_execute_control(s);
// cache_stats(s->cache_data);
}
}