mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-03 16:53:36 +03:00
Fix warning messages in VC++. Patches from nicolas352001. (CVS 347)
FossilOrigin-Name: f3038d218c91b44b70b75a7b881ea24c87fa6a02
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
** This file contains functions for allocating memory, comparing
|
||||
** strings, and stuff like that.
|
||||
**
|
||||
** $Id: util.c,v 1.34 2001/12/22 14:49:25 drh Exp $
|
||||
** $Id: util.c,v 1.35 2002/01/14 09:28:20 drh Exp $
|
||||
*/
|
||||
#include "sqliteInt.h"
|
||||
#include <stdarg.h>
|
||||
@@ -819,7 +819,7 @@ void sqliteRealToSortable(double r, char *z){
|
||||
while( r>0.0 && cnt<10 ){
|
||||
int digit;
|
||||
r *= 64.0;
|
||||
digit = r;
|
||||
digit = (int)r;
|
||||
assert( digit>=0 && digit<64 );
|
||||
*z++ = zDigit[digit & 0x3f];
|
||||
r -= digit;
|
||||
|
||||
Reference in New Issue
Block a user