make ASC_MAX_WINDOWS an unsigned literal

Tue, 07 Nov 2023 21:13:04 +0100

author
Mike Becker <universe@uap-core.de>
date
Tue, 07 Nov 2023 21:13:04 +0100
changeset 10
05d329adcecc
parent 9
6ad1a4213954
child 11
d83af80eb09b

make ASC_MAX_WINDOWS an unsigned literal

src/ascension/window.h file | annotate | diff | comparison | revisions
     1.1 --- a/src/ascension/window.h	Tue Nov 07 20:59:10 2023 +0100
     1.2 +++ b/src/ascension/window.h	Tue Nov 07 21:13:04 2023 +0100
     1.3 @@ -34,7 +34,7 @@
     1.4  
     1.5  #ifndef ASC_MAX_WINDOWS
     1.6  /** The maximum number of windows that can exist simultaneously. */
     1.7 -#define ASC_MAX_WINDOWS 4
     1.8 +#define ASC_MAX_WINDOWS 4u
     1.9  #endif // ASC_MAX_WINDOWS
    1.10  
    1.11  

mercurial