]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/sckaddr.cpp
Ensure that strings returned by wxMBConv_cf are in NFC form.
[wxWidgets.git] / src / common / sckaddr.cpp
index ea2fc9d89f11b15e1b92f2a8dad11f0c8a9f0155..67ca3fbcdfa77af4a5a368ad4eb55a98f3d90bac 100644 (file)
@@ -878,7 +878,7 @@ wxString wxIPV4address::IPAddress() const
 
     return wxString::Format
            (
 
     return wxString::Format
            (
-            "%lu.%lu.%lu.%lu",
+            "%u.%u.%u.%u",
             (addr >> 24) & 0xff,
             (addr >> 16) & 0xff,
             (addr >> 8) & 0xff,
             (addr >> 24) & 0xff,
             (addr >> 16) & 0xff,
             (addr >> 8) & 0xff,