Re: Using _Rreadk with PFs having multiple key fields defined

Patrik Schindler <[email protected]> Thu, 18 Aug 2022 00:52:14 +0200
Newsgroups gmane.comp.lang.as400.c
Message-ID <[email protected]>
Hello Barbara,

thanks a lot for taking time to try out and answer!


Am 16.08.2022 um 22:43 schrieb Barbara Morris <[email protected]>:

> Can you show the code you're using to typecast the char pointer?

No longer necessary, and no longer existing in its broken form. :-)

I'll publish the project on Github when the first part is working.

> p = (char *)&keys;

I have done some mixup here. Sometimes I confuse * and &. Additionally, I apparently can't correctly memorize the correct syntax for typecasts when pointers are involved.

My bad!

:wq! PoC

-- 
This is the Bare Metal Programming IBM i (AS/400 and iSeries) (C400-L) mailing list
To post a message email: [email protected]
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/c400-l
or email: [email protected]
Before posting, please take a moment to review the archives
at https://archive.midrange.com/c400-l.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com