Closed HawkSK closed 6 years ago
When using -Wconversion flag this error shows up: error: conversion to 'unsigned char' from 'unsigned int' may alter its value [-Wconversion]
-Wconversion
error: conversion to 'unsigned char' from 'unsigned int' may alter its value [-Wconversion]
The proposed small change silences this error, thus providing compatibility with this flag.
Excellent, thanks!
When using
-Wconversion
flag this error shows up:error: conversion to 'unsigned char' from 'unsigned int' may alter its value [-Wconversion]
The proposed small change silences this error, thus providing compatibility with this flag.