Signed-off-by: Richard Cochran <[email protected]>
---
clock.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/clock.c b/clock.c
index 726999e..df82d2b 100644
--- a/clock.c
+++ b/clock.c
@@ -789,7 +789,7 @@ struct clock *clock_create(int phc_index, struct
interfaces_head *ifaces,
enum timestamp_type timestamping, struct default_ds
*dds,
enum servo_type servo)
{
- int fadj = 0, max_adj = 0.0, sw_ts = timestamping == TS_SOFTWARE ? 1 :
0;
+ int fadj = 0, max_adj = 0, sw_ts = timestamping == TS_SOFTWARE ? 1 : 0;
struct clock *c = &the_clock;
struct port *p;
char phc[32];
--
1.7.10.4
------------------------------------------------------------------------------
_______________________________________________
Linuxptp-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel