sqlda->sqlvar[i].sqllen = sizeof(timestamp);
break;
case ECPGt_interval:
- ecpg_sqlda_align_add_size(offset, sizeof(int64_t), sizeof(interval), &offset, &next_offset);
+ ecpg_sqlda_align_add_size(offset, sizeof(int64), sizeof(interval), &offset, &next_offset);
sqlda->sqlvar[i].sqldata = (char *)sqlda + offset;
sqlda->sqlvar[i].sqllen = sizeof(interval);
break;
sqlda->sqlvar[i].sqllen = sizeof(timestamp);
break;
case ECPGt_interval:
- ecpg_sqlda_align_add_size(offset, sizeof(int64_t), sizeof(interval), &offset, &next_offset);
+ ecpg_sqlda_align_add_size(offset, sizeof(int64), sizeof(interval), &offset, &next_offset);
sqlda->sqlvar[i].sqldata = (char *)sqlda + offset;
sqlda->sqlvar[i].sqllen = sizeof(interval);
break;