diff options
author | Kim Woelders <kim@woelders.dk> | 2022-01-21 15:03:10 +0100 |
---|---|---|
committer | Kim Woelders <kim@woelders.dk> | 2022-01-21 16:32:27 +0100 |
commit | 31982cbe638e9d035438af022824473170deb0b0 (patch) | |
tree | 4eadc504bc5dfa98e8f468221bf1b38b0cca86ec | |
parent | 838c391093d36b55a980e1171baa011da739c3d0 (diff) | |
download | imlib2-master.tar.gz |
imlib2_view.c:206:33: error: initializer element is not a compile-time constant
static rect_t r_prev = r_zero;
^~~~~~
-rw-r--r-- | src/bin/imlib2_view.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/imlib2_view.c b/src/bin/imlib2_view.c index 84fb6f9..9e22fef 100644 --- a/src/bin/imlib2_view.c +++ b/src/bin/imlib2_view.c @@ -203,7 +203,7 @@ static void anim_update(Imlib_Image im, const rect_t * up_in, rect_t * up_out, int flags) { static const rect_t r_zero = { }; - static rect_t r_prev = r_zero; + static rect_t r_prev = { }; static Imlib_Image im_prev = NULL; Imlib_Image im_save = NULL; |