diff --git a/src/circular_shift.c b/src/circular_shift.c index 40fd9e7..5141197 100644 --- a/src/circular_shift.c +++ b/src/circular_shift.c @@ -11,6 +11,7 @@ * when the shift count is 0 or >= the width of unsigned int. */ +#include #include // for uint32_t, to get 32-bit-wide rotates, regardless of the size of int. #include // for CHAR_BIT @@ -27,6 +28,7 @@ uint32_t rotr32 (uint32_t value, unsigned int count) { } uint32_t main(int* argc, char** argv) { + // compiler warning for this comparison, but this works as intended. if (argc < 3) { printf("give two integers as argument!\n"); return 1;