gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What is the equivalent of unsigned char in C?


From: Gaius Mulley
Subject: Re: What is the equivalent of unsigned char in C?
Date: Tue, 24 Mar 2020 18:28:16 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Hưng Hưng <address@hidden> writes:

> I currently pull CARDINAL8 from SYSTEM but I'm unsure if it's right or
> not.

for a single unsigned char yes CARDINAL8 will be fine.  But if you want
to pass strings of unsigned char, ie:

 unsigned char *s

then you could try  -funsigned-char on the command line.
I'm a little unsure what will happen.  You could try wrapping the
strings using DynamicString possibly.  But it does depend upon what you
are trying to achieve,

regards,
Gaius



reply via email to

[Prev in Thread] Current Thread [Next in Thread]