Skip to content

Commit 6e97019

Browse files
authored
Merge pull request #7969 from DougGregor/ptrauth-without-stdint-testfix
Adjust test now that <stdint.h> isn't included from <ptrauth.h>
2 parents 497a64a + f4fc084 commit 6e97019

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/test/Sema/ptrauth-intrinsics-macro.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ extern int dv;
1212

1313
void test(int *dp, int (*fp)(int), int value) {
1414
dp = ptrauth_strip(dp, VALID_DATA_KEY);
15-
uintptr_t t0 = ptrauth_blend_discriminator(dp, value);
15+
ptrauth_extra_data_t t0 = ptrauth_blend_discriminator(dp, value);
1616
t0 = ptrauth_type_discriminator(int (*)(int));
1717
dp = ptrauth_sign_constant(&dv, VALID_DATA_KEY, 0);
1818
dp = ptrauth_sign_unauthenticated(dp, VALID_DATA_KEY, 0);

0 commit comments

Comments
 (0)