diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2016-11-23 16:19:57 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2016-11-23 19:27:09 +0100 |
commit | 905c8a48e96350af002536b627b46fbf517f727c (patch) | |
tree | dc73581b5393b4f5ea0101e420581206b86e0e4e /libqcdm/src/result.h | |
parent | 944e34ecdb9028b68b2144dd2c6d698d508f1808 (diff) |
libqcdm,libwmc: use C99 sized types from stdint.h
Diffstat (limited to 'libqcdm/src/result.h')
-rw-r--r-- | libqcdm/src/result.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/libqcdm/src/result.h b/libqcdm/src/result.h index a71c0bf5..76dc63fe 100644 --- a/libqcdm/src/result.h +++ b/libqcdm/src/result.h @@ -18,7 +18,7 @@ #ifndef LIBQCDM_RESULT_H #define LIBQCDM_RESULT_H -#include <sys/types.h> +#include <stdint.h> typedef struct QcdmResult QcdmResult; @@ -28,15 +28,15 @@ int qcdm_result_get_string (QcdmResult *r, int qcdm_result_get_u8 (QcdmResult *r, const char *key, - u_int8_t *out_val); + uint8_t *out_val); int qcdm_result_get_u32 (QcdmResult *r, const char *key, - u_int32_t *out_val); + uint32_t *out_val); int qcdm_result_get_u16_array (QcdmResult *result, const char *key, - const u_int16_t **out_val, + const uint16_t **out_val, size_t *out_len); QcdmResult *qcdm_result_ref (QcdmResult *r); @@ -44,4 +44,3 @@ QcdmResult *qcdm_result_ref (QcdmResult *r); void qcdm_result_unref (QcdmResult *r); #endif /* LIBQCDM_RESULT_H */ - |