|
|
Choosing A Webhost: |
CVS update of carob/src (SQLDataSerialization.cpp): msg#00188db.carob.cvs
Date: Thursday, January 26, 2006 @ 17:16:50 Author: marc Path: /cvsroot/carob/carob/src Modified: SQLDataSerialization.cpp (1.19 -> 1.20) changed unsigned char -> char in floats_little_endianness() and ints_little_endianness(), so we can use std::string --------------------------+ SQLDataSerialization.cpp | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) Index: carob/src/SQLDataSerialization.cpp diff -u carob/src/SQLDataSerialization.cpp:1.19 carob/src/SQLDataSerialization.cpp:1.20 --- carob/src/SQLDataSerialization.cpp:1.19 Thu Jan 26 16:51:20 2006 +++ carob/src/SQLDataSerialization.cpp Thu Jan 26 17:16:50 2006 @@ -338,8 +338,8 @@ const uint32_t e125f = F2I(e125f_); const uint32_t e125fbis = F2I(e125fbis_); - const unsigned char *e125f_uc = reinterpret_cast<const unsigned char*>(&e125f); - const unsigned char *e125fbis_uc = reinterpret_cast<const unsigned char*>(&e125fbis); + const char *e125f_uc = reinterpret_cast<const char*>(&e125f); + const char *e125fbis_uc = reinterpret_cast<const char*>(&e125fbis); // build some magical double constants @@ -353,8 +353,8 @@ const uint64_t e1007d = D2I(e1007d_); const uint64_t e1007dbis = D2I(e1007dbis_); - const unsigned char *e1007d_uc = reinterpret_cast<const unsigned char*>(&e1007d); - const unsigned char *e1007dbis_uc = reinterpret_cast<const unsigned char*>(&e1007dbis); + const char *e1007d_uc = reinterpret_cast<const char*>(&e1007d); + const char *e1007dbis_uc = reinterpret_cast<const char*>(&e1007dbis); // then check if we have an classical MSB-float arch // (sign, exponent, fraction) @@ -383,8 +383,8 @@ const uint32_t I = 0x01000002U; const uint64_t L = 0x0100000000000002ULL; - const unsigned char *i_uc = reinterpret_cast<const unsigned char*>(&I); - const unsigned char *l_uc = reinterpret_cast<const unsigned char*>(&L); + const char *i_uc = reinterpret_cast<const char*>(&I); + const char *l_uc = reinterpret_cast<const char*>(&L); // then check if we have an classical MSB-float arch // (sign, exponent, fraction)
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | CVS update of carob/src (SQLDataSerialization.cpp), marc-Tt5JLJuBijYiZlD9aYmxOGD2FQJk+8+b |
|---|---|
| Next by Date: | CVS update of carob/src (SQLDataSerialization.cpp), marc-Tt5JLJuBijYiZlD9aYmxOGD2FQJk+8+b |
| Previous by Thread: | CVS update of carob/src (SQLDataSerialization.cpp), marc-Tt5JLJuBijYiZlD9aYmxOGD2FQJk+8+b |
| Next by Thread: | CVS update of carob/src (SQLDataSerialization.cpp), marc-Tt5JLJuBijYiZlD9aYmxOGD2FQJk+8+b |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |
Home
| advertise | OSDir is
an inevitable website.
|