X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fprofile.h;h=3704b449e6294e4d0599f0529c5cd44f1a620f74;hb=1f05348cde42852d77da3457b96a33dff1600ca4;hp=3fe2b975253cdb616a774ffd40849c1dfb97e56c;hpb=6aa88fed14f449b9752da6d87e5df5405f7905d2;p=libucw.git diff --git a/lib/profile.h b/lib/profile.h index 3fe2b975..3704b449 100644 --- a/lib/profile.h +++ b/lib/profile.h @@ -1,5 +1,5 @@ /* - * Sherlock Library -- Poor Man's Profiler + * UCW Library -- Poor Man's Profiler * * (c) 2001 Martin Mares * @@ -123,7 +123,7 @@ typedef struct prof_ktsc prof_t; static inline void prof_start(prof_t *c) { prof_switch(NULL, c); } static inline void prof_stop(prof_t *c) { prof_switch(c, NULL); } #endif -#define PROF_STR(C) ({ static byte _x[PROF_STR_SIZE]; prof_format(_x, &(C)); _x; }) +#define PROF_STR(C) ({ static char _x[PROF_STR_SIZE]; prof_format(_x, &(C)); _x; }) #else