[PATCH] Stop using enum for integer constants in image sample
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 30 Mar 2023 19:18:02 +0000 (21:18 +0200)
committerScott Talbert <swt@techie.net>
Wed, 2 Sep 2026 16:48:31 +0000 (12:48 -0400)
commit004fb7893231fdd29aff26a499496500ee53b5ca
tree620e5c861fc8aa9d8fe35b946f96d4c40db1e594
parent538bd84228c9d1ae064d871c020d1e684d7d0494
[PATCH] Stop using enum for integer constants in image sample

This always wasn't the best and started to result in CI failures now as
recent versions of gcc (e.g. 11.3 in Ubuntu 2.2.04) started giving
-Wdeprecated-enum-float-conversion when using REAL_SIZE in the
expressions.

Gbp-Pq: Name 13ebaee247781b7cde1c830b36145aec9ab91127.patch
samples/image/image.cpp