skip to main
|
skip to sidebar
Boot to the head
Τρίτη, 22 Δεκεμβρίου 2009
cast from 'void*' to 'int' loses precision
Irritating message, it happens because:
int a = sizeof(b)
is bad, where:
size_t a = sizeof(b)
is better.
So if you happen to try to compile something and it gives you this message, try to figure out what tries to make it an int and change it to a size_t.
0 σχόλια:
Δημοσίευση σχολίου
Νεότερη ανάρτηση
Παλαιότερη Ανάρτηση
Αρχική σελίδα
Εγγραφή σε:
Σχόλια ανάρτησης (Atom)
When dragons did exist
►
2011
(2)
►
Οκτώβριος
(1)
Sooperlooper loses connection to engine
►
Ιούνιος
(1)
Guitar Pro 6 on Fedora 15
►
2010
(2)
►
Ιούλιος
(1)
Mozart/Oz and Gedit
►
Φεβρουάριος
(1)
Calculating conditional pmf matrices in python (nu...
▼
2009
(1)
▼
Δεκέμβριος
(1)
cast from 'void*' to 'int' loses precision
►
2008
(1)
►
Αύγουστος
(1)
Cross platform?
About me
mmxgn
ECE Student at the Technical University of Crete
Προβολή πλήρους προφίλ
0 σχόλια:
Δημοσίευση σχολίου