aboutsummaryrefslogtreecommitdiffstats
path: root/libgamma_Partition.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2022-07-21 12:51:56 +0200
committerMattias Andrée <maandree@kth.se>2022-07-21 12:51:56 +0200
commitf96123d8cff0c6183cdc889a3a4df343be5f1ab1 (patch)
tree532e9e0e9b44af35e6bc987f06c37cb0aad02651 /libgamma_Partition.c
parentImprove makefile (diff)
downloadjlibgamma-f96123d8cff0c6183cdc889a3a4df343be5f1ab1.tar.gz
jlibgamma-f96123d8cff0c6183cdc889a3a4df343be5f1ab1.tar.bz2
jlibgamma-f96123d8cff0c6183cdc889a3a4df343be5f1ab1.tar.xz
Fix warnings1.0.2
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--libgamma_Partition.c2
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);