]> git.saurik.com Git - wxWidgets.git/commitdiff
Removed types that don't exist in iodbc
authorJulian Smart <julian@anthemion.co.uk>
Sun, 10 Oct 2004 10:10:27 +0000 (10:10 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Sun, 10 Oct 2004 10:10:27 +0000 (10:10 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/db/dbtest.cpp

index 053dab084b1611ac0a25ecfa618e4faebda290e6..5494cfd83d6171205d5db79aea301fbe46011d71 100644 (file)
@@ -1817,9 +1817,9 @@ bool CeditorDlg::GetData()
 
     if (!invalid)
     {
-        wxGetApp().Contact->JoinDate.month = (SQLUSMALLINT)mm;
-        wxGetApp().Contact->JoinDate.day   = (SQLUSMALLINT)dd;
-        wxGetApp().Contact->JoinDate.year  = (SQLSMALLINT)yyyy;
+        wxGetApp().Contact->JoinDate.month = (unsigned short) mm;
+        wxGetApp().Contact->JoinDate.day   = (unsigned short) dd;
+        wxGetApp().Contact->JoinDate.year  = (short) yyyy;
     }
     else
     {