|
1 | | -/* $Header: /cvsroot/pgsql/src/interfaces/ecpg/lib/Attic/data.c,v 1.22 2002/01/0814:25:04 meskes Exp $ */ |
| 1 | +/* $Header: /cvsroot/pgsql/src/interfaces/ecpg/lib/Attic/data.c,v 1.23 2002/01/0823:34:47 tgl Exp $ */ |
2 | 2 |
|
3 | 3 | #include"postgres_fe.h" |
4 | 4 |
|
@@ -154,15 +154,15 @@ ECPGget_data(const PGresult *results, int act_tuple, int act_field, int lineno, |
154 | 154 | { |
155 | 155 | caseECPGt_unsigned_short: |
156 | 156 | /*((unsigned short *) var)[act_tuple] = (unsigned short) ures;*/ |
157 | | -*((unsigned short*) (var+offset*act_tuple))= (unsigned short)res; |
| 157 | +*((unsigned short*) (var+offset*act_tuple))= (unsigned short)ures; |
158 | 158 | break; |
159 | 159 | caseECPGt_unsigned_int: |
160 | 160 | /*((unsigned int *) var)[act_tuple] = (unsigned int) ures;*/ |
161 | | -*((unsignedint*) (var+offset*act_tuple))= (unsignedint)res; |
| 161 | +*((unsignedint*) (var+offset*act_tuple))= (unsignedint)ures; |
162 | 162 | break; |
163 | 163 | caseECPGt_unsigned_long: |
164 | 164 | /*((unsigned long *) var)[act_tuple] = ures;*/ |
165 | | -*((unsigned long*) (var+offset*act_tuple))= (unsigned long)res; |
| 165 | +*((unsigned long*) (var+offset*act_tuple))= (unsigned long)ures; |
166 | 166 | break; |
167 | 167 | default: |
168 | 168 | /* Cannot happen */ |
|