Fix warnings from static analysis tools

1.INVALID ASSIGNMENT:
  a. phDnldNfc.cc: phDnldNfc_LoadFW()
  The size of variables equated are different.
  "fileSize" is 4 (unsigned int) and "fTellFileSize" is 8(long)

  b. phDnldNfc_Internal.cc: phDnldNfc_CreateFramePld()
  Explicit type casting is done to avoid ambiguity.

  c. phNxpNciHal.cc: phNxpNciHal_core_initialized()
  The size of variables equated are different.
  "timeout" is 4 (unsigned int) and "retLen*1000" is
  8 (long)

  d. phNxpNciHal.cc: phNxpNciHal_getVendorConfig()
  The size of variables equated are different.
  "config.maxIsoDepTranscieveLength" is 4 (unsigned int)
	   and "num" is 8 (unsigned long)

  e. phOsalNfc_Timer.cc: phOsalNfc_DeferredCall()
  "dwIndex" datatype change from uint32_t to unsigned long

2.DO_NOT_USE_INT_IN_FOR_LOOP
  a. phNxpConfig.cpp: GetNxpNumValue()
   unsigned int is changed to size_t datatype

Bug: 142626701
Test: Nfc-On/Off, Tag read, HCE, VTS
Change-Id: I013a068cd29631f684b4f6d8986413914b942759
5 files changed
tree: d439269d7401362afbf1e3d08304b401b785070b
  1. 1.1/
  2. 1.2/
  3. extns/
  4. halimpl/
  5. Android.bp
  6. METADATA
  7. OWNERS