Skip to content

Commit

Permalink
Fix for ODBC-154. DATETIME value 1800-01-01 as parameter for SQL stat…
Browse files Browse the repository at this point in the history
…ement produces "value out of range" error
  • Loading branch information
alexpotapchenko committed Oct 15, 2012
1 parent 6dfca24 commit c9abb15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OdbcConvert.cpp
Expand Up @@ -51,7 +51,7 @@ extern int swprintf (wchar_t *__restrict __s, size_t __n, wchar_t *__restrict __
#define HI_LONG(l) ((int)(l))
#define LO_LONG(l) ((int)(((UQUAD)(l) >> 32) & 0xFFFFFFFF))
#else
#define MAKEQUAD(a, b) ((QUAD)(((int)(a)) | ((UQUAD)((int)(b))) << 32))
#define MAKEQUAD(a, b) ((QUAD)(((unsigned int)(a)) | ((UQUAD)((int)(b))) << 32))
#define LO_LONG(l) ((int)(l))
#define HI_LONG(l) ((int)(((UQUAD)(l) >> 32) & 0xFFFFFFFF))
#endif
Expand Down

0 comments on commit c9abb15

Please sign in to comment.