diff options
author | Jose <jose@zeroc.com> | 2014-12-11 15:55:06 +0100 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2014-12-11 15:55:06 +0100 |
commit | 47b8b1b4d46571886b37bc413e00c0e9f0134eb3 (patch) | |
tree | e63084c46e43480c3f934426bbc2cf70cff7cbaf /cpp/test/WinRT/TestSuite/MainPage.xaml.cpp | |
parent | ICE-6138 ICE-6137 ICE-6139 (diff) | |
download | ice-47b8b1b4d46571886b37bc413e00c0e9f0134eb3.tar.bz2 ice-47b8b1b4d46571886b37bc413e00c0e9f0134eb3.tar.xz ice-47b8b1b4d46571886b37bc413e00c0e9f0134eb3.zip |
Fixed (ICE-6131) - WinRT testsuite access exception
Diffstat (limited to 'cpp/test/WinRT/TestSuite/MainPage.xaml.cpp')
-rw-r--r-- | cpp/test/WinRT/TestSuite/MainPage.xaml.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/test/WinRT/TestSuite/MainPage.xaml.cpp b/cpp/test/WinRT/TestSuite/MainPage.xaml.cpp index 696b40f5e52..3de8fef35ca 100644 --- a/cpp/test/WinRT/TestSuite/MainPage.xaml.cpp +++ b/cpp/test/WinRT/TestSuite/MainPage.xaml.cpp @@ -298,7 +298,8 @@ typedef IceUtil::Handle<Runnable> RunnablePtr; bool isIn(const string s[], const string& name) { - for(int i = 0; i < sizeof(s); ++i) + int l = sizeof(s)/sizeof(string*); + for(int i = 0; i < l; ++i) { if(s[i] == name) { |