title: How do I fix this error? (arduino casting)
body: <p>I'm using a library called DS3231 by rinkydinkelectronics
  Link: <a href="http://www.rinkydinkelectronics.com/library.php?id=73" rel="nofollow noreferrer">http://www.rinkydinkelectronics.com/library.php?id=73</a> (click on manual)</p>
  
  <p>i'm trying to run the following code </p>
  
  <pre><code>String alarmTime = "08:52:00";
  
          void loop(){
             if (rtc.getTimeStr() == alarmTime){
             alarmState = true;
            }
  }
  </code></pre>
  
  <p>but i get the following error:</p>
  
  <blockquote>
    <p>exit status 1 no match for 'operator==' (operand types are 'char*' and
    'String')</p>
  </blockquote>
  
  <p>the library manual however says that the return value is a string so I don't see why this shouldn't work :(</p>
  
  <p>Can someone help me fix this or tell me what might be wrong?</p>
  
  <p>Thank you!</p>