CLOSED - task 2: Submit code for C/C++ 
https://github.com/bladeninja/zerosocket/issues/issues/issue/2

Minor type fixes to avoid warning and errors