[Issue#] SSDWSSP-523
[Bug/Feature] Security-server does not build under GCC 4.8.
[Cause] switch() does not accept int to enum conversion.
[Solution] Applying static_cast.
[Verification] Building under GCC 4.8.
Change-Id: Ib28b21058d6e6a63925e933aa936b8197f553393
//use received data
if (interfaceID == INTERFACE_GET) {
- switch(msgType) {
+ switch(static_cast<CookieCall>(msgType)) {
case CookieCall::GET_COOKIE:
LogDebug("Entering get-cookie server side handler");
retval = cookieRequest(send, conn.sock);