summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2008-09-09 17:21:16 +0300
committerLennart Poettering <lennart@poettering.net>2008-09-09 17:21:16 +0300
commit7518e2861b4e57c405f50af05ccca83b6a92cc67 (patch)
tree66c266022f6541f1297bf7771f1eb2af62882944
parent0c1f6a8612d683fe9ba73749e4f624420bd231d4 (diff)
fix gcc warning
-rw-r--r--src/cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cache.c b/src/cache.c
index dd8b482..cb19dc3 100644
--- a/src/cache.c
+++ b/src/cache.c
@@ -501,7 +501,7 @@ int ca_cache_lookup_sound(
/* Hmm, is the entry older than the last change to our sound theme
* dirs? Also, check for clock skews */
- if ((time_t) timestamp < last_change || (timestamp > now)) {
+ if ((time_t) timestamp < last_change || ((time_t) timestamp > now)) {
remove_entry = TRUE;
ret = CA_ERROR_NOTFOUND;
goto finish;