All, Iam using DirectFB-1.5.3 along with fusion-8.7.0 version to bring the multi-app support. I have encountered a strange problem using snprintf within the file shared_surface_pool.c & particularly in functions sharedAllocateBuffer() & sharedLock() functions.Within these functions snprintf is used to print AllocationIndex which is of type uint64_t using the format specifier %zu into a char buffer (good enough size) .snprintf is returning return value of 0 & even when printing the allocation index using %zu format specifier right next to the snprintf() is yielding a different value. This problem persisted even after using format specifiers %x,%X,%lu,%ld
*FIX:Use %llu instead of %zu* * * Hope this is the right fix but any reasons why it was failing?Is %zu not supported? Regards, Kumar
_______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev