Changeset 12438


Ignore:
Timestamp:
06/15/12 21:39:54 (13 years ago)
Author:
Mathieu Morlighem
Message:

Back to normal

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/shared/Exceptions/exprintf.cpp

    r12437 r12438  
    99#include <stdarg.h>
    1010#include <stdio.h>
    11 #include "../Alloc/xNewDelete.h"
     11#include "../Alloc/alloc.h"
    1212
    1313char* exprintf(const char* format,...){
     
    1717
    1818        /*Assum nobody will print more that 1024 characters!*/
    19         string=xNew<char>(1024);//assume that nobody will print more than 1024 characters at once.
     19        string=(char*)xmalloc(1024*sizeof(char));//assume that nobody will print more than 1024 characters at once.
    2020                                                                                                                                                                                                     
    2121        //variable list of arguments
Note: See TracChangeset for help on using the changeset viewer.