Skip to content

Commit 2479519

Browse files
committed
attempt to fix lldb tests
1 parent e8c7332 commit 2479519

File tree

2 files changed

+2
-2
lines changed
  • lldb/test/API/functionalities

2 files changed

+2
-2
lines changed

lldb/test/API/functionalities/thread/exit_during_expression/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ void *exiting_thread_func(void *unused) {
2727
}
2828

2929
int main() {
30-
char *exit_ptr;
30+
void *exit_ptr;
3131
pthread_t exiting_thread;
3232

3333
pthread_create(&exiting_thread, NULL, exiting_thread_func, NULL);
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
struct Opaque {
22
int i, j, k;
33
} *global;
4-
struct Opaque *getOpaque() { return &global; }
4+
struct Opaque *getOpaque() { return (struct Opaque *)&global; }

0 commit comments

Comments
 (0)