gud icon indicating copy to clipboard operation
gud copied to clipboard

f_gud: -Woverflow

Open ZenithalHourlyRate opened this issue 4 years ago • 0 comments

drivers/usb/gadget/function/f_gud.c:865:21: warning: conversion from ‘long unsigned int’ to ‘u32’ {aka ‘unsigned int’} changes value fr
om ‘18446744073709551615’ to ‘4294967295’ [-Woverflow]
  865 |  opts->connectors = ~0UL;
      |                     ^

Cross compiler: aarch64-unknown-linux-gnu. For 32bit this is fine but for 64bit this is not ok.

ZenithalHourlyRate avatar Jan 20 '22 05:01 ZenithalHourlyRate