Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert value to CVarArg type #42

Open
nc163 opened this issue Oct 26, 2022 · 1 comment
Open

Convert value to CVarArg type #42

nc163 opened this issue Oct 26, 2022 · 1 comment

Comments

@nc163
Copy link

nc163 commented Oct 26, 2022

The following code produced a cast error

let val: UInt128 = UInt128.max
String.init(format: "0x%0X", val as! CVarArg ) 

Do you have any advice on how to solve this problem?

@Jitsusama
Copy link
Owner

Hello. I’m afraid I’m not sure what is going on there. Hopefully someone else will be able to speak up and give you some help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants