diff options
Diffstat (limited to '')
-rw-r--r-- | libgamma_Partition.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgamma_Partition.c b/libgamma_Partition.c index baea208..9b77ff1 100644 --- a/libgamma_Partition.c +++ b/libgamma_Partition.c @@ -62,7 +62,7 @@ Java_libgamma_Partition_libgamma_1partition_1create(JNIEnv *env, jclass class, j int r; if (state == NULL) return fail(env, 0); - r = libgamma_partition_initialise(state, super, partition); + r = libgamma_partition_initialise(state, super, (size_t)partition); if (r) return fail(env, r); return ok(env, state, state->crtcs_available); |