summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/core-util.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2008-08-20 03:33:06 +0300
committerLennart Poettering <lennart@poettering.net>2008-08-20 03:33:06 +0300
commitdc9b8dce309728b47059b9b44fd3bbd3798667ae (patch)
tree01b520be14874d4924df4518f43d7d24fc67a4dd /src/pulsecore/core-util.c
parenta3e57da0f0c12a5d7de2e731514884a51b4b83f9 (diff)
add a few missing casts
Diffstat (limited to 'src/pulsecore/core-util.c')
-rw-r--r--src/pulsecore/core-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pulsecore/core-util.c b/src/pulsecore/core-util.c
index 41a31042..89416d8b 100644
--- a/src/pulsecore/core-util.c
+++ b/src/pulsecore/core-util.c
@@ -2041,7 +2041,7 @@ void *pa_will_need(const void *p, size_t l) {
return (void*) p;
}
- bs = PA_PAGE_ALIGN(rlim.rlim_cur);
+ bs = PA_PAGE_ALIGN((size_t) rlim.rlim_cur);
#else
bs = PA_PAGE_SIZE*4;
#endif