]> granicus.if.org Git - icu/commitdiff
ICU-9598 Fix windows build which broke at 32600
authorTravis Keep <keep94@gmail.com>
Thu, 11 Oct 2012 21:54:28 +0000 (21:54 +0000)
committerTravis Keep <keep94@gmail.com>
Thu, 11 Oct 2012 21:54:28 +0000 (21:54 +0000)
X-SVN-Rev: 32610

icu4c/source/test/cintltst/cgendtst.c

index 1eecffd854835bb1c608e93f6c367cab0094147e..6c38790ce7d61ca181c9d9b7693292aa15abf1b8 100644 (file)
@@ -35,11 +35,12 @@ void addGendInfoForTest(TestNode** root)
 static void TestGenderInfo(void) {
   UErrorCode status = U_ZERO_ERROR;
   const UGenderInfo* actual_gi = ugender_getInstance("fr_CA", &status);
+  UGender actual;
   if (U_FAILURE(status)) {
     log_err("Fail to create UGenderInfo - %s\n", u_errorName(status));
     return;
   }
-  UGender actual = ugender_getListGender(actual_gi, kAllFemale, LENGTHOF(kAllFemale), &status);
+  actual = ugender_getListGender(actual_gi, kAllFemale, LENGTHOF(kAllFemale), &status);
   if (U_FAILURE(status)) {
     log_err("Fail to get gender of list - %s\n", u_errorName(status));
     return;