HomeFreeBSD

emulators/xsystem35: unbreak build with clang 15

Description

emulators/xsystem35: unbreak build with clang 15

nDEMO.c:22:6: error: incompatible pointer to integer conversion initializing 'int' with an expression of type 'int *'; dereference with * [-Wint-conversion]

int p1 = getCaliVariable();
    ^    ~~~~~~~~~~~~~~~~~
         *

nDEMO.c:28:6: error: incompatible pointer to integer conversion initializing 'int' with an expression of type 'int *'; dereference with * [-Wint-conversion]

int p1 = getCaliVariable();
    ^    ~~~~~~~~~~~~~~~~~
         *

nt_msg.c:189:9: error: incompatible integer to pointer conversion initializing 'char *' with an expression of type 'int' [-Wint-conversion]

char *b = sjis2euc(msg);
      ^   ~~~~~~~~~~~~~

nt_msg.c:261:10: error: incompatible integer to pointer conversion initializing 'char *' with an expression of type 'int' [-Wint-conversion]

char *b = sjis2euc(mbuf);
      ^   ~~~~~~~~~~~~~~

sactcg.c:211:9: error: incompatible integer to pointer conversion initializing 'char *' with an expression of type 'int' [-Wint-conversion]

char *b = sjis2euc(cText);
      ^   ~~~~~~~~~~~~~~~

Reported by: pkg-fallout

Details

Provenance
jbeichAuthored on Feb 11 2023, 11:57 AM
Parents
R11:6ef36e437be1: lang/php80: unbreak build after 6e1233be2292 (Convert USE_LDAP to USES=ldap)
Branches
Unknown
Tags
Unknown