On Thu, Sep 07, 2023 at 03:54:21PM -0600, Matthieu Herrb wrote:
> CVSROOT: /cvs
> Module name: xenocara
> Changes by: matth...@cvs.openbsd.org 2023/09/07 15:54:21
>
> Modified files:
> proto/xorgproto/include/X11: Xmd.h
>
> Log message:
> Fix the build after recent CARD64 / unsigned long fises for llvm 16
>
> There are many places in X drivers where CARD64 is used mixed with uint64_t
> and CARD32 mixed with uint32_t.
> Initially the CARD* types were only meant to be used in the X protocol
> definition and implementation. Later they got used in driver for fixed-
> length unsigned integers as synonyms for uintxx_t types.
> Unfortunatly on OpenBSD the definition of uint64_t and CARD64 don't match.
> So take the bull by the horns and fix the CARDxx definitions using the
> corresponding uintxx_t types from stdint.h.
>
this was ok tb@
--
Matthieu Herrb