title: cast from jobject to jboolean loses precision
body: <p>I am trying to cast jobject to jboolean</p>
  
  <pre><code>    jmethodID mGet = env-&gt;GetMethodID(cJsonObjClass, "get","(Ljava/lang/String;)Ljava/lang/Object;");    
      jboolean val = (jboolean)env-&gt;CallObjectMethod(object, mGet , key);
  </code></pre>
  
  <p>getting this compile error:</p>
  
  <blockquote>
    <p>cast from 'jobject {aka _jobject*}' to 'jboolean {aka unsigned char}' loses precision [-fpermissive]</p>
  </blockquote>
  
  <p>what does it mean and what to do?</p>