net/ena/base: fix type conversions by explicit casting
net/ena/base: fix type conversions by explicit casting

To silence error messages from the static code analysis, make the type
conversions explicit where they're intended.

Also fix the type for the DMA width value.

Fixes: 99ecfbf845b3 ("ena: import communication layer")
Cc: stable@dpdk.org

Signed-off-by: Michal Krawczyk <a91dcbb4df49d8bfe0a9930d7ff911a4292ca1f5@semihalf.com>
Reviewed-by: Igor Chauskin <a8d4b4819272c1df83ebe995beed3305455c3333@amazon.com>
Reviewed-by: Guy Tzalik <2e660552b21bf06b7025c5200bbf74d8c7c74097@amazon.com>

john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk