2
0
mirror of synced 2025-01-11 14:44:12 +00:00

Merge pull request #1253 from wasedaigo/master

Prevent crashes on 32bit devices
This commit is contained in:
Michael Diarmid 2018-06-29 14:37:06 +01:00 committed by GitHub
commit 39058ac186
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,6 +31,10 @@
}
- (void)requestAd {
#ifndef __LP64__
return; // prevent crash on 32bit
#endif
if (_unitId == nil || _size == nil || _request == nil) {
[self setRequested:NO];
return;