fixed gcc warnings
This commit is contained in:
@@ -1130,7 +1130,7 @@ void at5vxi_stat(
|
||||
|
||||
work = ((uint32_t)pdd->bio[1]) << (sizeof(uint16_t)*NBBY);
|
||||
work |= pdd->bio[0];
|
||||
printf("\tBIO: value %x\n", work);
|
||||
printf("\tBIO: value %lx\n", (unsigned long) work);
|
||||
}
|
||||
|
||||
for(channel=0; channel<NELEMENTS(pconfig->tv); channel++){
|
||||
|
||||
@@ -40,6 +40,7 @@ static char *sccsId = "@(#)drvHpe1445a.c 1.5\t8/27/93";
|
||||
#include <vxWorks.h>
|
||||
#include <stdioLib.h>
|
||||
#include <taskLib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <module_types.h>
|
||||
#include <fast_lock.h>
|
||||
@@ -1004,14 +1005,13 @@ unsigned long npoints
|
||||
return s;
|
||||
}
|
||||
|
||||
|
||||
sprintf(pc->buf, "source:list:segment:define %u", npoints);
|
||||
sprintf(pc->buf, "source:list:segment:define %lu", npoints);
|
||||
s = hpe1445aWrite(la, pc->buf);
|
||||
if(s){
|
||||
return s;
|
||||
}
|
||||
sprintf( pc->buf,
|
||||
"source:arbitrary:download VXI,%s%s,%d",
|
||||
"source:arbitrary:download VXI,%s%s,%lu",
|
||||
SEGMENT_NAME_PREFIX,
|
||||
pWaveformName,
|
||||
npoints);
|
||||
|
||||
Reference in New Issue
Block a user