X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=ETL%2Ftrunk%2Ftest%2Fhandle.cpp;h=fd40e2557fb1ec294337f2965710b6cf1cfbf9db;hb=117425a5858bb094f2e54af5d018499ab703b227;hp=db7a35dbabb8ce3910c77e946f22e4fbbe0e46f7;hpb=b3016b249333ac0ab0008d8c6c4d9029b2ff30c9;p=synfig.git diff --git a/ETL/trunk/test/handle.cpp b/ETL/trunk/test/handle.cpp index db7a35d..fd40e25 100644 --- a/ETL/trunk/test/handle.cpp +++ b/ETL/trunk/test/handle.cpp @@ -85,11 +85,11 @@ typedef list< robj_handle > robj_list; int handle_basic_test() { - printf("handle: Size of a handle: %d\n",sizeof(etl::handle)); - printf("handle: Size of a loose_handle: %d\n",sizeof(etl::loose_handle)); - printf("handle: Size of a rhandle: %d\n",sizeof(etl::rhandle)); - printf("handle: Size of a shared_object: %d\n",sizeof(etl::shared_object)); - printf("handle: Size of a rshared_object: %d\n",sizeof(etl::rshared_object)); + printf("handle: Size of a handle: %u\n",(unsigned int)sizeof(etl::handle)); + printf("handle: Size of a loose_handle: %u\n",(unsigned int)sizeof(etl::loose_handle)); + printf("handle: Size of a rhandle: %u\n",(unsigned int)sizeof(etl::rhandle)); + printf("handle: Size of a shared_object: %u\n",(unsigned int)sizeof(etl::shared_object)); + printf("handle: Size of a rshared_object: %u\n",(unsigned int)sizeof(etl::rshared_object)); printf("handle: Basic test: "); my_test_obj::instance_count=0;