lib/asn1: template cast integer const to uintptr_t then void ptr
commit6b788c237827e7bee7be0cab9d93669a5fab9268
authorJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 5 Jan 2022 19:04:55 +0000 (5 14:04 -0500)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Thu, 6 Jan 2022 00:56:43 +0000 (5 19:56 -0500)
tree4cb40ce2a17275b72e833602cb2d123556c263c7
parent2375fa9d1eaa3aacb08ed9c27a5cde3de0db1e50
lib/asn1: template cast integer const to uintptr_t then void ptr

Cast integer constants to (void *) with an intermediate cast to
(uintptr_t).   On Windows this avoid warnings about a signed
integer being cast to a pointer of larger size.

No functional change.

Change-Id: I7289fb772870c5f492c1a8b988e0d80cf008b7f4
lib/asn1/template.c