Merge to XFA: Kill FXSYS_mem{cpy,cmp,set.move}{32,8}.
[pdfium.git] / core / src / fxcodec / codec / fx_codec_png.cpp
index 55d66a3..b96ccf6 100644 (file)
@@ -50,7 +50,7 @@ static void _png_load_bmp_attribute(png_structp png_ptr, png_infop info_ptr, CFX
         png_timep t = NULL;\r
         png_get_tIME(png_ptr, info_ptr, &t);\r
         if (t) {\r
-            FXSYS_memset32(pAttribute->m_strTime, 0, sizeof(pAttribute->m_strTime));\r
+            FXSYS_memset(pAttribute->m_strTime, 0, sizeof(pAttribute->m_strTime));\r
             FXSYS_snprintf((FX_CHAR*)pAttribute->m_strTime, sizeof(pAttribute->m_strTime), "%4d:%2d:%2d %2d:%2d:%2d",\r
                            t->year, t->month, t->day, t->hour, t->minute, t->second);\r
             pAttribute->m_strTime[sizeof(pAttribute->m_strTime) - 1] = 0;\r
@@ -67,15 +67,15 @@ static void _png_load_bmp_attribute(png_structp png_ptr, png_infop info_ptr, CFX
         for (i = 0; i < num_text; i++) {\r
             len = (FX_DWORD)FXSYS_strlen(text[i].key);\r
             buf = "Time";\r
-            if (!FXSYS_memcmp32(buf, text[i].key, FX_MIN(len, FXSYS_strlen(buf)))) {\r
+            if (!FXSYS_memcmp(buf, text[i].key, FX_MIN(len, FXSYS_strlen(buf)))) {\r
                 if (!bTime) {\r
-                    FXSYS_memset32(pAttribute->m_strTime, 0, sizeof(pAttribute->m_strTime));\r
-                    FXSYS_memcpy32(pAttribute->m_strTime, text[i].text,\r
+                    FXSYS_memset(pAttribute->m_strTime, 0, sizeof(pAttribute->m_strTime));\r
+                    FXSYS_memcpy(pAttribute->m_strTime, text[i].text,\r
                                    FX_MIN(sizeof(pAttribute->m_strTime) - 1, text[i].text_length));\r
                 }\r
             } else {\r
                 buf = "Author";\r
-                if (!FXSYS_memcmp32(buf, text[i].key, FX_MIN(len, FXSYS_strlen(buf)))) {\r
+                if (!FXSYS_memcmp(buf, text[i].key, FX_MIN(len, FXSYS_strlen(buf)))) {\r
                     pAttribute->m_strAuthor.Empty();\r
                     pAttribute->m_strAuthor.Load((uint8_t*)text[i].text, (FX_STRSIZE)text[i].text_length);\r
                 }\r