   gslc_tsGui* pGui = (gslc_tsGui*)pvGui;
 
   char acTxtNum[11];
-  int16_t nVal1, nVal2, nResult;
+  int32_t nVal1, nVal2, nResult;
 
   if (eTouch == GSLC_TOUCH_UP_IN) {
     // From the element's ID we can determine which button was pressed.

  // Save some element references for quick access
  // ------------------------------------------------
  //<Quick_Access !Start!>
  m_pElemVal1 = gslc_PageFindElemById(&m_gui, E_PG_MAIN, E_TXT_VAL1);
  m_pElemVal2 = gslc_PageFindElemById(&m_gui, E_PG_MAIN, E_TXT_VAL2);
  m_pElemResult = gslc_PageFindElemById(&m_gui, E_PG_MAIN, E_TXT7);
  //<Quick_Access !End!>

  //<Startup !Start!>

  gslc_ElemSetTxtMargin(&m_gui, pElemRef, 5);
  gslc_ElemSetClickEn(&m_gui, pElemRef, true);
  gslc_ElemSetTouchFunc(&m_gui, pElemRef, &CbBtnCommon);
  m_pElemVal1 = pElemRef; // Save for later

  // Create E_TXT_VAL2 modifiable text label
  static char m_strtxt6[11] = "";
