Replacing error constant for empty NSData byte representation to a 32bit compatible value. (#729)
diff --git a/Foundation/NSData.swift b/Foundation/NSData.swift
index 80a07fa..33ce39d 100644
--- a/Foundation/NSData.swift
+++ b/Foundation/NSData.swift
@@ -220,7 +220,7 @@
guard let bytePtr = CFDataGetBytePtr(_cfObject) else {
//This could occure on empty data being encoded.
//TODO: switch with nil when signature is fixed
- return UnsafeRawPointer(bitPattern: 0xf00deadb0c0)! //would not result in 'nil unwrapped optional'
+ return UnsafeRawPointer(bitPattern: 0x7f00dead)! //would not result in 'nil unwrapped optional'
}
return UnsafeRawPointer(bytePtr)
}