fixed memcpy parms
This commit is contained in:
@@ -567,8 +567,8 @@ register struct event_block *pevent;
|
||||
* union copy of char in the db at an odd
|
||||
* address
|
||||
*/
|
||||
memcpy( pevent->paddr->pfield,
|
||||
&ev_que->valque[putix].field,
|
||||
memcpy( &ev_que->valque[putix].field,
|
||||
pevent->paddr->pfield,
|
||||
dbr_size[pevent->paddr->field_type]);
|
||||
|
||||
}
|
||||
@@ -645,8 +645,8 @@ register unsigned int select;
|
||||
* union copy of char in the db at an odd
|
||||
* address
|
||||
*/
|
||||
memcpy( pvalue,
|
||||
&ev_que->valque[putix].field,
|
||||
memcpy( &ev_que->valque[putix].field,
|
||||
pvalue,
|
||||
dbr_size[event->paddr->field_type]);
|
||||
|
||||
}
|
||||
|
||||
@@ -772,8 +772,8 @@ DbRecDes(fp, fflag)
|
||||
&dbRecDes->papRecTypDes[i]->papFldDes[j]->interest,
|
||||
dbRecDes->papRecTypDes[i]->papFldDes[j]->interest);
|
||||
bufOut(fp, fflag);
|
||||
memcpy((void *) & dbRecDes->papRecTypDes[i]->papFldDes[j]->initial,
|
||||
(void *) buff, 8);
|
||||
memcpy((void *) buff,
|
||||
(void *) & dbRecDes->papRecTypDes[i]->papFldDes[j]->initial, 8);
|
||||
sprintf(buffer, "%8x[%8x][%8x]\tinitial",
|
||||
&dbRecDes->papRecTypDes[i]->papFldDes[j]->initial,
|
||||
buff[0], buff[1]);
|
||||
@@ -782,8 +782,8 @@ DbRecDes(fp, fflag)
|
||||
&dbRecDes->papRecTypDes[i]->papFldDes[j]->range1.fldnum,
|
||||
dbRecDes->papRecTypDes[i]->papFldDes[j]->range1.fldnum);
|
||||
bufOut(fp, fflag);
|
||||
memcpy((void *) & dbRecDes->papRecTypDes[i]->papFldDes[j]->range1.value,
|
||||
(void *) buff, 8);
|
||||
memcpy((void *) buff,
|
||||
(void *) & dbRecDes->papRecTypDes[i]->papFldDes[j]->range1.value, 8);
|
||||
sprintf(buffer, "%8x[%8x][%8x]\trange1.value",
|
||||
&dbRecDes->papRecTypDes[i]->papFldDes[j]->range1.value,
|
||||
buff[0], buff[1]);
|
||||
@@ -792,8 +792,8 @@ DbRecDes(fp, fflag)
|
||||
&dbRecDes->papRecTypDes[i]->papFldDes[j]->range2.fldnum,
|
||||
dbRecDes->papRecTypDes[i]->papFldDes[j]->range2.fldnum);
|
||||
bufOut(fp, fflag);
|
||||
memcpy((void *) & dbRecDes->papRecTypDes[i]->papFldDes[j]->range2.value,
|
||||
(void *) buff, 8);
|
||||
memcpy((void *) buff,
|
||||
(void *) & dbRecDes->papRecTypDes[i]->papFldDes[j]->range2.value, 8);
|
||||
sprintf(buffer, "%8x[%8x][%8x]\trange2.value",
|
||||
&dbRecDes->papRecTypDes[i]->papFldDes[j]->range2.value,
|
||||
buff[0], buff[1]);
|
||||
|
||||
Reference in New Issue
Block a user