I'm still a noob in C
I have
and later it is used as a pointer like &olen
As far as I know this is a pointer to an unsigned int variable.
Via b4r_main::_encrypted_len = olen; all works but I want to drop that extra step and use/cast the variable directly to a B4R variable. I tried (uint8_t*) and other things but it didn't work.
Could someone help me out here? Thanks.
I have
C:
size_t olen = 0;
and later it is used as a pointer like &olen
As far as I know this is a pointer to an unsigned int variable.
Via b4r_main::_encrypted_len = olen; all works but I want to drop that extra step and use/cast the variable directly to a B4R variable. I tried (uint8_t*) and other things but it didn't work.
Could someone help me out here? Thanks.