mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-22 17:06:33 +03:00
Small 64 bit fix.
This commit is contained in:
parent
bf52a9ac21
commit
559149824b
|
@ -1,3 +1,8 @@
|
|||
2006-03-02 Federico Di Gregorio <fog@initd.org>
|
||||
|
||||
* psycopg/typecast_array.c (typecast_array_tokenize): removed cast
|
||||
to build without warnings on 64 bit arches.
|
||||
|
||||
2006-02-11 Federico Di Gregorio <fog@initd.org>
|
||||
|
||||
* Release 2.0 beta 8.
|
||||
|
|
|
@ -136,7 +136,7 @@ typecast_array_tokenize(char *str, int strlength,
|
|||
}
|
||||
|
||||
*buffer = '\0';
|
||||
*length = (int)buffer - (int)*token;
|
||||
*length = buffer - *token;
|
||||
}
|
||||
else {
|
||||
*token = &str[*pos];
|
||||
|
|
Loading…
Reference in New Issue
Block a user