gp: fix warning in TEEC_initialize_memory()

Fixes a multitude of warnings emitted for the function
TEEC_initialize_memory() when compiling for a 32-bit target.

In file included from gp_10000.c:21:
gp_10000.c: In function ‘gp_test_teec_10023’:
gp/include/xml_client_api.h:272:17: error: comparison of integer expressions of different signedness: ‘long int’ and ‘unsigned int’ [-Werror=sign-compare]
  272 |   if ((long)shm != IGNORE) {\
      |                 ^~
gp_10000.c:318:5: note: in expansion of macro ‘TEEC_initialize_memory’
  318 |     TEEC_initialize_memory(SHARE_MEM01, IGNORE, OFFSET_02, SIZE_02, BYTE_01, BYTE_02, BYTE_03);
      |     ^~~~~~~~~~~~~~~~~~~~~~

Reviewed-by: Jerome Forissier <jerome@forissier.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
1 file changed
tree: dd173b5cf3eacde8009c4041ef03391d67be7db4
  1. .github/
  2. cert/
  3. host/
  4. scripts/
  5. ta/
  6. .gitignore
  7. Android.mk
  8. CMakeLists.txt
  9. CMakeToolchain.txt
  10. LICENSE.md
  11. Makefile
  12. README.md
  13. typedefs.checkpatch
README.md

OP-TEE sanity testsuite

This git contains source code for the test suite (xtest) used to test the OP-TEE project.

All official OP-TEE documentation has moved to http://optee.readthedocs.io. The information that used to be here in this git can be found under optee_test.

// OP-TEE core maintainers