From 3cfa011760bf35e7a2bda6d6accfbf4331fd146f Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Fri, 9 Sep 2011 17:10:32 -0500 Subject: [PATCH] libCom: Clean up warning from Darwin. --- src/libCom/osi/os/posix/osdThread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libCom/osi/os/posix/osdThread.c b/src/libCom/osi/os/posix/osdThread.c index 954e04dc9..501826715 100644 --- a/src/libCom/osi/os/posix/osdThread.c +++ b/src/libCom/osi/os/posix/osdThread.c @@ -514,7 +514,7 @@ static epicsThreadOSD *createImplicit(void) int status; tid = pthread_self(); - sprintf(name, "non-EPICS_%d", (int)tid); + sprintf(name, "non-EPICS_%ld", (long)tid); pthreadInfo = create_threadInfo(name); pthreadInfo->tid = tid; pthreadInfo->osiPriority = 0;