On Wednesday, 18 August 2021 at 17:56:53 UTC, Ruby The Roobster wrote:
When I removed those two lines of code, the program ran perfectly without displaying any error or throwing any exception...

The errors aren't always nicely located and can be elsewhere. Try to write a minimal runnable example. Also that cast won't work, you don't really know what you're doing there, use toStringz instead.

Reply via email to