|
From: | Patrick |
Subject: | cast char to chtype ? |
Date: | Tue, 04 Aug 2015 18:50:29 -0400 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.7.0 |
Hi EveryoneI haven't tried to do this yet because I was unsure if it was safe even if it appeared to work. Is it safe to cast a char to a chtype ? I have a situation were the input is from a piece of code that has not yet resolved ncurses and needs to use the basic C types.
Thanks for reading-Patrick
[Prev in Thread] | Current Thread | [Next in Thread] |