From 3e3390e9236564f4becef9f61197aa1dcb93f7f6 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Thu, 21 May 2015 15:04:07 +0100 Subject: Fix thinko --- solenv/bin/native-code.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'solenv/bin/native-code.py') diff --git a/solenv/bin/native-code.py b/solenv/bin/native-code.py index 1df328017a22..44b151591f49 100755 --- a/solenv/bin/native-code.py +++ b/solenv/bin/native-code.py @@ -465,7 +465,7 @@ print (""" if options.java: print (""" extern void Java_org_libreoffice_kit_LibreOfficeKit_initializeNative(); - p = (void *) Java_org_libreoffice_kit_LibreOfficeKit_initializeNative; + volatile void *p = (void *) Java_org_libreoffice_kit_LibreOfficeKit_initializeNative; extern void Java_org_libreoffice_kit_Office_getError(); p = (void *) Java_org_libreoffice_kit_Office_getError; -- cgit