diff options
author | Mattias Andrée <maandree@kth.se> | 2022-07-21 12:51:56 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2022-07-21 12:51:56 +0200 |
commit | f96123d8cff0c6183cdc889a3a4df343be5f1ab1 (patch) | |
tree | 532e9e0e9b44af35e6bc987f06c37cb0aad02651 /libgamma_Partition.c | |
parent | Improve makefile (diff) | |
download | jlibgamma-1.0.2.tar.gz jlibgamma-1.0.2.tar.bz2 jlibgamma-1.0.2.tar.xz |
Fix warnings1.0.2
Signed-off-by: Mattias Andrée <maandree@kth.se>
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); |