diff options
Diffstat (limited to 'registry/workben/regtest.cxx')
-rw-r--r-- | registry/workben/regtest.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/registry/workben/regtest.cxx b/registry/workben/regtest.cxx index 23ba5e14e2a0..eb1fa9b64ef8 100644 --- a/registry/workben/regtest.cxx +++ b/registry/workben/regtest.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: regtest.cxx,v $ - * $Revision: 1.5 $ + * $Revision: 1.5.10.2 $ * * This file is part of OpenOffice.org. * @@ -42,9 +42,9 @@ using namespace std; using namespace rtl; #if (defined UNX) || (defined OS2) -int main( int argc, char * argv[] ) +int main() #else -int _cdecl main( int argc, char * argv[] ) +int _cdecl main() #endif { RegHandle hReg; @@ -103,7 +103,7 @@ int _cdecl main( int argc, char * argv[] ) cout << "8. close " << nSubKeys << "subkeys of \"myfirstKey\"\n\n"; - char* Value="Mein erster Value"; + char* Value=(char*)"Mein erster Value"; if (reg_setValue(hRootKey, OUString::createFromAscii("mySecondKey").pData, RG_VALUETYPE_STRING, Value, 18)) cout << "\t9. setValue of key \"mySecondKey\" failed\n"; else |