These are chat archives for symengine/symengine

24th
Sep 2017
Shikhar Jaiswal
@ShikharJ
Sep 24 2017 16:46

@isuruf I am facing this error while applying Wsign-conversion flag:

/home/shikhar/symengine/symengine/integer.cpp:13:68: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
     return ((hash_t)mp_get_ui(this->i)) * (hash_t)(mp_sign(this->i));
                                                                    ^

How can this be fixed?