Page MenuHomeFreeBSD

D12210.id.diff
No OneTemporary

D12210.id.diff

Index: lib/libefivar/uefi-dplib.h
===================================================================
--- lib/libefivar/uefi-dplib.h
+++ lib/libefivar/uefi-dplib.h
@@ -527,7 +527,7 @@
#define StrnCmp(a, b, n) strncmp(a, b, n)
#define StrnLenS(str, max) strlen(str)
#define Strtoi(x) strtol(x, NULL, 0)
-#define Strtoi64(x, y) *(long long *)y = strtoll(x, NULL, 0)
+#define Strtoi64(x, y) do { *(y) = strtoll((x), NULL, 0); } while (0)
#define SwapBytes64(u64) bswap64(u64)
#define UnicodeStrToAsciiStrS(src, dest, len) strlcpy(dest, src, len)
#define ZeroMem(p,l) memset(p, 0, l)

File Metadata

Mime Type
text/plain
Expires
Fri, Oct 2, 1:24 PM (1 h, 32 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
39998869
Default Alt Text
D12210.id.diff (586 B)

Event Timeline