We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
generateIv Method
+ (NSData*)generateIv { static dispatch_once_t onceToken; dispatch_once(&onceToken, ^{ srand(time(NULL)); }); char cIv[FBENCRYPT_BLOCK_SIZE]; for (int i=0; i < FBENCRYPT_BLOCK_SIZE; i++) { cIv[i] = rand() % 256; } return [NSData dataWithBytes:cIv length:FBENCRYPT_BLOCK_SIZE]; }
The warning... FBEncryptorAES.m:156:15: Implicit conversion loses integer precision: 'time_t' (aka 'long') to 'unsigned int'
FBEncryptorAES.m:156:15: Implicit conversion loses integer precision: 'time_t' (aka 'long') to 'unsigned int'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
generateIv Method
The warning...
FBEncryptorAES.m:156:15: Implicit conversion loses integer precision: 'time_t' (aka 'long') to 'unsigned int'
The text was updated successfully, but these errors were encountered: