dls-controls / pmac

Driver for the Delta Tau PMAC motion controller family.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compile error on CentOS7

waynelewis opened this issue · comments

When building on CentOS7, the following compiler error occurs:

../devPmacRam.c: In function ‘devPmacRamEvent_read’: ../devPmacRam.c:1064:13: error: incompatible types when assigning to type ‘char[40]’ from type ‘short int’ pRec->val = (short) (0x0000ffff & pDpvt->dpramData.ramLong);
I will submit a pull request for review to (hopefully) address this.

See my comments in #71

fixed in PR #72, thanks Wayne.